[GPU] Fix GetActiveTextureHostSwizzle return type

This commit is contained in:
Triang3l 2022-06-12 18:50:38 +03:00
parent 78d1eb8bf8
commit 820b7ba217
1 changed files with 1 additions and 1 deletions

View File

@ -98,7 +98,7 @@ class TextureCache {
// "ActiveTexture" means as of the latest RequestTextures call.
uint8_t GetActiveTextureHostSwizzle(uint32_t fetch_constant_index) const {
uint32_t GetActiveTextureHostSwizzle(uint32_t fetch_constant_index) const {
const TextureBinding* binding =
GetValidTextureBinding(fetch_constant_index);
return binding ? binding->host_swizzle : xenos::XE_GPU_TEXTURE_SWIZZLE_0000;