mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-30 18:40:13 +01:00
r600/sfn: support indirect sampler buffer reads.
Signed-off-by: Gert Wollny <gert.wollny@collabora.com> Reviewed-by: Reviewed-by: Dave Airlie <airlied@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5085>
This commit is contained in:
parent
2f3ce9b1d0
commit
358b0a57bf
1 changed files with 1 additions and 1 deletions
|
|
@ -393,7 +393,7 @@ bool EmitTexInstruction::emit_buf_txf(nir_tex_instr* instr, TexInputs &src)
|
|||
|
||||
auto ir = new FetchInstruction(vc_fetch, no_index_offset, dst, src.coord.reg_i(0), 0,
|
||||
instr->texture_index + R600_MAX_CONST_BUFFERS,
|
||||
PValue(), bim_none);
|
||||
src.texture_offset, bim_none);
|
||||
ir->set_flag(vtx_use_const_field);
|
||||
emit_instruction(ir);
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue