diff --git a/src/intel/blorp/blorp_blit.c b/src/intel/blorp/blorp_blit.c index 76693635556..bf829eb5de3 100644 --- a/src/intel/blorp/blorp_blit.c +++ b/src/intel/blorp/blorp_blit.c @@ -137,7 +137,7 @@ blorp_create_nir_tex_instr(nir_builder *b, struct brw_blorp_blit_vars *v, tex->op = op; - tex->dest_type = dst_type; + tex->dest_type = dst_type | 32; tex->is_array = false; tex->is_shadow = false; diff --git a/src/intel/blorp/blorp_nir_builder.h b/src/intel/blorp/blorp_nir_builder.h index 53787563da3..6fbe1deb5ad 100644 --- a/src/intel/blorp/blorp_nir_builder.h +++ b/src/intel/blorp/blorp_nir_builder.h @@ -41,7 +41,7 @@ blorp_nir_txf_ms_mcs(nir_builder *b, nir_ssa_def *xy_pos, nir_ssa_def *layer) nir_tex_instr *tex = nir_tex_instr_create(b->shader, 1); tex->op = nir_texop_txf_ms_mcs; tex->sampler_dim = GLSL_SAMPLER_DIM_MS; - tex->dest_type = nir_type_int; + tex->dest_type = nir_type_int32; nir_ssa_def *coord; if (layer) {