intel/blorp: Use sized types for nir_tex_instr::dest_type

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7989>
This commit is contained in:
Connor Abbott 2020-12-08 13:36:28 +01:00
parent 2a470ab0d0
commit fe45fefe57
2 changed files with 2 additions and 2 deletions

View file

@ -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;

View file

@ -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) {