diff options
author | Gert Wollny <[email protected]> | 2020-05-09 10:40:58 +0200 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-05-19 07:52:13 +0000 |
commit | 358b0a57bfd7b5f7e0e05fa4f4cfab5c106a82ff (patch) | |
tree | 532f6c50ae3795646eacab9791fccfbf973240f9 /src/gallium/drivers/r600 | |
parent | 2f3ce9b1d0c5ebf37c8f33d7cfa67d6b3a23a17b (diff) |
r600/sfn: support indirect sampler buffer reads.
Signed-off-by: Gert Wollny <[email protected]>
Reviewed-by: Reviewed-by: Dave Airlie <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5085>
Diffstat (limited to 'src/gallium/drivers/r600')
-rw-r--r-- | src/gallium/drivers/r600/sfn/sfn_emittexinstruction.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/sfn/sfn_emittexinstruction.cpp b/src/gallium/drivers/r600/sfn/sfn_emittexinstruction.cpp index 1059db8e4f1..1495714fab0 100644 --- a/src/gallium/drivers/r600/sfn/sfn_emittexinstruction.cpp +++ b/src/gallium/drivers/r600/sfn/sfn_emittexinstruction.cpp @@ -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; |