struct iris_sampler_view *isv = shs->textures[i];
struct iris_resource *res = (void *) isv->base.texture;
+ if (res->base.target == PIPE_BUFFER)
+ continue;
+
if (batch->name != IRIS_BATCH_COMPUTE) {
disable_rb_aux_buffer(ice, draw_aux_buffer_disabled,
res, isv->view.base_level, isv->view.levels,
const int i = u_bit_scan(&views);
struct iris_resource *res = (void *) shs->image[i].res;
+ if (res->base.target == PIPE_BUFFER)
+ continue;
+
if (batch->name != IRIS_BATCH_COMPUTE) {
disable_rb_aux_buffer(ice, draw_aux_buffer_disabled,
res, 0, ~0, "as a shader image");