mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-10 08:10:14 +01:00
ir3: Don't always set bindless_tex with readonly images
Fixes: 274f381 ("ir3: Plumb through bindless support")
This commit is contained in:
parent
5bbf70c5a6
commit
11801504db
1 changed files with 1 additions and 1 deletions
|
|
@ -1314,10 +1314,10 @@ get_image_samp_tex_src(struct ir3_context *ctx, nir_intrinsic_instr *intr)
|
|||
struct ir3_block *b = ctx->block;
|
||||
struct tex_src_info info = {0};
|
||||
nir_intrinsic_instr *bindless_tex = ir3_bindless_resource(intr->src[0]);
|
||||
ctx->so->bindless_tex = true;
|
||||
|
||||
if (bindless_tex) {
|
||||
/* Bindless case */
|
||||
ctx->so->bindless_tex = true;
|
||||
info.flags |= IR3_INSTR_B;
|
||||
|
||||
/* Gather information required to determine which encoding to
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue