mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 04:48:08 +02:00
r600/sfn: Use the constant buffer ID when given
Signed-off-by: Gert Wollny <gert.wollny@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8800>
This commit is contained in:
parent
d81439463a
commit
cf23161040
1 changed files with 1 additions and 1 deletions
|
|
@ -893,7 +893,7 @@ bool ShaderFromNirProcessor::emit_load_ubo_vec4(nir_intrinsic_instr* instr)
|
|||
FetchInstruction *ir;
|
||||
if (bufid) {
|
||||
ir = new FetchInstruction(vc_fetch, no_index_offset, trgt, addr, 0,
|
||||
1, nullptr, bim_none);
|
||||
1 + bufid->u32, nullptr, bim_none);
|
||||
} else {
|
||||
PValue bufid = from_nir(instr->src[0], 0, 0);
|
||||
ir = new FetchInstruction(vc_fetch, no_index_offset, trgt, addr, 0,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue