vulkan: render_cache: fix clang compilation

This commit is contained in:
sephiroth99 2017-06-06 02:04:02 -04:00 committed by Doug Johnson
parent 11637af8e9
commit 7ede34b593
2 changed files with 4 additions and 1 deletions

View File

@ -903,6 +903,9 @@ CachedTileView* RenderCache::FindTileView(uint32_t base, uint32_t pitch,
case ColorRenderTargetFormat::k_2_10_10_10_FLOAT_unknown:
format = uint32_t(ColorRenderTargetFormat::k_2_10_10_10_FLOAT);
break;
default:
// Other types as-is.
break;
}
}

View File

@ -82,7 +82,7 @@ class CachedTileView {
}
VkExtent2D GetSize() const {
return {key.tile_width * 80ul, key.tile_height * 16ul};
return {key.tile_width * 80u, key.tile_height * 16u};
}
private: