diff options
Diffstat (limited to 'src/gallium/auxiliary/cso_cache/cso_context.h')
-rw-r--r-- | src/gallium/auxiliary/cso_cache/cso_context.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/cso_cache/cso_context.h b/src/gallium/auxiliary/cso_cache/cso_context.h index e27cbe9f721..a4309c7684c 100644 --- a/src/gallium/auxiliary/cso_cache/cso_context.h +++ b/src/gallium/auxiliary/cso_cache/cso_context.h @@ -171,6 +171,7 @@ void cso_set_render_condition(struct cso_context *cso, #define CSO_BIT_VERTEX_SHADER 0x20000 #define CSO_BIT_VIEWPORT 0x40000 #define CSO_BIT_PAUSE_QUERIES 0x80000 +#define CSO_BIT_FRAGMENT_IMAGE0 0x100000 #define CSO_BITS_ALL_SHADERS (CSO_BIT_VERTEX_SHADER | \ CSO_BIT_FRAGMENT_SHADER | \ @@ -191,6 +192,14 @@ cso_set_sampler_views(struct cso_context *cso, struct pipe_sampler_view **views); +/* shader images */ + +void +cso_set_shader_images(struct cso_context *cso, unsigned shader_stage, + unsigned start, unsigned count, + struct pipe_image_view *views); + + /* constant buffers */ void cso_set_constant_buffer(struct cso_context *cso, unsigned shader_stage, |