mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 11:48:06 +02:00
pan/bi: Include UBO index for sysval reads
Trivially zero. Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4276>
This commit is contained in:
parent
fc0b49bb2c
commit
8bb16138b6
1 changed files with 1 additions and 1 deletions
|
|
@ -230,7 +230,7 @@ bi_emit_sysval(bi_context *ctx, nir_instr *instr,
|
|||
bi_instruction load = {
|
||||
.type = BI_LOAD_UNIFORM,
|
||||
.writemask = (1 << (nr_components * 4)) - 1,
|
||||
.src = { BIR_INDEX_CONSTANT},
|
||||
.src = { BIR_INDEX_CONSTANT, BIR_INDEX_ZERO },
|
||||
.constant = { (uniform * 16) + offset },
|
||||
.dest = bir_dest_index(&nir_dest),
|
||||
.dest_type = nir_type_uint32, /* TODO */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue