freedreno/a6xx: Fix dummy binning pass FS shader

No changes, but it looks funning to see in the binning pass that FS uses
r0 and hr0.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19710>
This commit is contained in:
Rob Clark 2022-11-13 13:30:55 -08:00 committed by Marge Bot
parent 2de0a031ea
commit 35c78d4f15

View File

@ -411,7 +411,13 @@ setup_stateobj(struct fd_ringbuffer *ring, struct fd_context *ctx,
uint8_t clip0_loc, clip1_loc;
int i, j;
static const struct ir3_shader_variant dummy_fs = {0};
static const struct ir3_shader_variant dummy_fs = {
.info = {
.max_half_reg = -1,
.max_reg = -1,
.max_const = -1,
},
};
const struct ir3_shader_variant *vs = binning_pass ? state->bs : state->vs;
const struct ir3_shader_variant *hs = state->hs;
const struct ir3_shader_variant *ds = state->ds;