From 5c41a416c10e08ee3e168bb9d17e7f723e32d1cd Mon Sep 17 00:00:00 2001 From: Connor Abbott Date: Tue, 8 Dec 2020 13:37:21 +0100 Subject: [PATCH] anv: Use sized types for nir_tex_instr::dest_type Reviewed-by: Jason Ekstrand Part-of: --- src/intel/vulkan/anv_nir_lower_ycbcr_textures.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);