aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/llvmpipe/lp_setup_context.h
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2019-07-20 14:28:23 +1000
committerDave Airlie <[email protected]>2019-08-27 12:30:04 +1000
commit2909c654b014e5360b08b28b70df297cd8e1c090 (patch)
tree78188d8f59c13706a37b1f6118bf5a8bac5f5edd /src/gallium/drivers/llvmpipe/lp_setup_context.h
parentdc2357070cb78497686d5d3b02418032dddac5ac (diff)
llvmpipe: add fragment shader image support
Reviewed-by: Roland Scheidegger <[email protected]>
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_setup_context.h')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_setup_context.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_setup_context.h b/src/gallium/drivers/llvmpipe/lp_setup_context.h
index 9c8dde5b6ae..701dcadfdf9 100644
--- a/src/gallium/drivers/llvmpipe/lp_setup_context.h
+++ b/src/gallium/drivers/llvmpipe/lp_setup_context.h
@@ -50,6 +50,7 @@
#define LP_SETUP_NEW_SCISSOR 0x08
#define LP_SETUP_NEW_VIEWPORTS 0x10
#define LP_SETUP_NEW_SSBOS 0x20
+#define LP_SETUP_NEW_IMAGES 0x40
struct lp_setup_variant;
@@ -149,6 +150,10 @@ struct lp_setup_context
} ssbos[LP_MAX_TGSI_SHADER_BUFFERS];
struct {
+ struct pipe_image_view current;
+ } images[LP_MAX_TGSI_SHADER_IMAGES];
+
+ struct {
struct pipe_blend_color current;
uint8_t *stored;
} blend_color;