vulkan: render_cache: fix clang compilation
This commit is contained in:
parent
11637af8e9
commit
7ede34b593
|
@ -903,6 +903,9 @@ CachedTileView* RenderCache::FindTileView(uint32_t base, uint32_t pitch,
|
||||||
case ColorRenderTargetFormat::k_2_10_10_10_FLOAT_unknown:
|
case ColorRenderTargetFormat::k_2_10_10_10_FLOAT_unknown:
|
||||||
format = uint32_t(ColorRenderTargetFormat::k_2_10_10_10_FLOAT);
|
format = uint32_t(ColorRenderTargetFormat::k_2_10_10_10_FLOAT);
|
||||||
break;
|
break;
|
||||||
|
default:
|
||||||
|
// Other types as-is.
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -82,7 +82,7 @@ class CachedTileView {
|
||||||
}
|
}
|
||||||
|
|
||||||
VkExtent2D GetSize() const {
|
VkExtent2D GetSize() const {
|
||||||
return {key.tile_width * 80ul, key.tile_height * 16ul};
|
return {key.tile_width * 80u, key.tile_height * 16u};
|
||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
Loading…
Reference in New Issue