summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/tgsi/tgsi_ureg.h
diff options
context:
space:
mode:
authorIlia Mirkin <[email protected]>2015-09-19 18:19:13 -0400
committerIlia Mirkin <[email protected]>2016-01-08 15:10:32 -0500
commit888ddd632d7f6af635cc948f1b3e8982b43800d2 (patch)
treec7e5e4072821364ccbcaeef9420c9ba1fecb03cc /src/gallium/auxiliary/tgsi/tgsi_ureg.h
parent8cc9a8aa2a97ca9e7a36a993954a3480d44c13d3 (diff)
ureg: add buffer support to ureg
Signed-off-by: Ilia Mirkin <[email protected]> Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/tgsi/tgsi_ureg.h')
-rw-r--r--src/gallium/auxiliary/tgsi/tgsi_ureg.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_ureg.h b/src/gallium/auxiliary/tgsi/tgsi_ureg.h
index 39b0a0f0ba1..4a411c66491 100644
--- a/src/gallium/auxiliary/tgsi/tgsi_ureg.h
+++ b/src/gallium/auxiliary/tgsi/tgsi_ureg.h
@@ -334,6 +334,9 @@ ureg_DECL_image(struct ureg_program *ureg,
boolean wr,
boolean raw);
+struct ureg_src
+ureg_DECL_buffer(struct ureg_program *ureg, unsigned nr, bool atomic);
+
static inline struct ureg_src
ureg_imm4f( struct ureg_program *ureg,
float a, float b,