mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2024-11-30 21:54:16 +08:00
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:
parent
2de0a031ea
commit
35c78d4f15
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user