This fixes a bunch of subtests of
arb_shader_image_load_store-host-mem-barrier.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu> (v1)
}
}
}
- if (flags & PIPE_BARRIER_SHADER_BUFFER) {
+
+ if (flags & (PIPE_BARRIER_SHADER_BUFFER |
+ PIPE_BARRIER_CONSTANT_BUFFER |
+ PIPE_BARRIER_INDEX_BUFFER |
+ PIPE_BARRIER_IMAGE |
+ PIPE_BARRIER_TEXTURE |
+ PIPE_BARRIER_VERTEX_BUFFER |
+ PIPE_BARRIER_STREAMOUT_BUFFER)) {
IMMED_NVC0(push, NVC0_3D(MEM_BARRIER), 0x1011);
}
}