diff --git a/src/intel/vulkan/anv_nir_lower_ycbcr_textures.c b/src/intel/vulkan/anv_nir_lower_ycbcr_textures.c index e55e5317fc7..454fb05f3c7 100644 --- a/src/intel/vulkan/anv_nir_lower_ycbcr_textures.c +++ b/src/intel/vulkan/anv_nir_lower_ycbcr_textures.c @@ -50,7 +50,7 @@ get_texture_size(struct ycbcr_state *state, nir_deref_instr *texture) tex->sampler_dim = glsl_get_sampler_dim(type); tex->is_array = glsl_sampler_type_is_array(type); tex->is_shadow = glsl_sampler_type_is_shadow(type); - tex->dest_type = nir_type_int; + tex->dest_type = nir_type_int32; tex->src[0].src_type = nir_tex_src_texture_deref; tex->src[0].src = nir_src_for_ssa(&texture->dest.ssa);