ac/nir: support 16-bit data in buffer_load_format opcodes
[mesa.git] / src / gallium / drivers / radeonsi / si_compute_prim_discard.c
index 09a2d904a2bca02ad34caff1d5dd7fca6081f83f..2313f74a0233461e8f7bc8c2b0d85896b5e9c502 100644 (file)
@@ -460,7 +460,7 @@ void si_build_prim_discard_compute_shader(struct si_shader_context *ctx)
    if (key->opt.cs_indexed) {
       for (unsigned i = 0; i < 3; i++) {
          index[i] = ac_build_buffer_load_format(&ctx->ac, input_indexbuf, index[i], ctx->ac.i32_0,
-                                                1, 0, true);
+                                                1, 0, true, false);
          index[i] = ac_to_integer(&ctx->ac, index[i]);
       }
    }