summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/radeonsi_pipe.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2013-10-30 20:44:23 +0100
committerMarek Olšák <[email protected]>2013-11-04 19:07:57 +0100
commit4569bf919930a417d9d94f0d626d88ed164b32a9 (patch)
tree06adb8bf4361c86152964abc5f6918fc6f457cf1 /src/gallium/drivers/radeonsi/radeonsi_pipe.h
parent2fd42001231b70ba1764b1455d642037d2d5fff5 (diff)
radeonsi: bind a dummy constant buffer in place of NULL buffers
Diffstat (limited to 'src/gallium/drivers/radeonsi/radeonsi_pipe.h')
-rw-r--r--src/gallium/drivers/radeonsi/radeonsi_pipe.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/radeonsi_pipe.h b/src/gallium/drivers/radeonsi/radeonsi_pipe.h
index 1d4a91bf8ad..de613e0ed34 100644
--- a/src/gallium/drivers/radeonsi/radeonsi_pipe.h
+++ b/src/gallium/drivers/radeonsi/radeonsi_pipe.h
@@ -171,6 +171,7 @@ struct r600_context {
* In that case, we bind this one: */
struct si_pipe_shader *dummy_pixel_shader;
struct r600_atom cache_flush;
+ struct pipe_constant_buffer null_const_buf; /* used for set_constant_buffer(NULL) on CIK */
/* SI state handling */
union si_state queued;