From 4b623afc3f7830bb3a3f303cee87e7f8a1b32a1b Mon Sep 17 00:00:00 2001 From: Connor Abbott Date: Tue, 8 Dec 2020 13:43:54 +0100 Subject: [PATCH] gallium/nir: Use sized types for nir_tex_instr::dest_type Reviewed-by: Jason Ekstrand Part-of: --- src/gallium/auxiliary/nir/nir_draw_helpers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/auxiliary/nir/nir_draw_helpers.c b/src/gallium/auxiliary/nir/nir_draw_helpers.c index 764cdac1f0b..bc1437f0830 100644 --- a/src/gallium/auxiliary/nir/nir_draw_helpers.c +++ b/src/gallium/auxiliary/nir/nir_draw_helpers.c @@ -80,7 +80,7 @@ nir_lower_pstipple_block(nir_block *block, tex->op = nir_texop_tex; tex->sampler_dim = GLSL_SAMPLER_DIM_2D; tex->coord_components = 2; - tex->dest_type = nir_type_float; + tex->dest_type = nir_type_float32; tex->texture_index = state->stip_tex->data.binding; tex->sampler_index = state->stip_tex->data.binding; tex->src[0].src_type = nir_tex_src_coord;