mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02: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 ir3_block *b = ctx->block;
|
||||||
struct tex_src_info info = {0};
|
struct tex_src_info info = {0};
|
||||||
nir_intrinsic_instr *bindless_tex = ir3_bindless_resource(intr->src[0]);
|
nir_intrinsic_instr *bindless_tex = ir3_bindless_resource(intr->src[0]);
|
||||||
ctx->so->bindless_tex = true;
|
|
||||||
|
|
||||||
if (bindless_tex) {
|
if (bindless_tex) {
|
||||||
/* Bindless case */
|
/* Bindless case */
|
||||||
|
ctx->so->bindless_tex = true;
|
||||||
info.flags |= IR3_INSTR_B;
|
info.flags |= IR3_INSTR_B;
|
||||||
|
|
||||||
/* Gather information required to determine which encoding to
|
/* Gather information required to determine which encoding to
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue