aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/i915/i915_screen.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2017-04-30 01:18:43 +0200
committerMarek Olšák <[email protected]>2017-05-10 19:29:08 +0200
commit70dcb7377dca89a230731efc2e2d650c38bddd93 (patch)
treefdc3076fdf623b3e3f5fb2b0bda6f60176efff44 /src/gallium/drivers/i915/i915_screen.c
parent9db1f9bcd1acc3a6ee0b2246aaa60e1edef52614 (diff)
gallium: add PIPE_CAP_CAN_BIND_CONST_BUFFER_AS_VERTEX
The next patch will use it. This is really for svga and GL2-level drivers. Tested-by: Edmondo Tommasina <[email protected]> Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/drivers/i915/i915_screen.c')
-rw-r--r--src/gallium/drivers/i915/i915_screen.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/i915/i915_screen.c b/src/gallium/drivers/i915/i915_screen.c
index 139b5d89635..ae0a495e9d8 100644
--- a/src/gallium/drivers/i915/i915_screen.c
+++ b/src/gallium/drivers/i915/i915_screen.c
@@ -306,6 +306,7 @@ i915_get_param(struct pipe_screen *screen, enum pipe_cap cap)
case PIPE_CAP_SPARSE_BUFFER_PAGE_SIZE:
case PIPE_CAP_TGSI_BALLOT:
case PIPE_CAP_TGSI_TES_LAYER_VIEWPORT:
+ case PIPE_CAP_CAN_BIND_CONST_BUFFER_AS_VERTEX:
return 0;
case PIPE_CAP_MAX_VIEWPORTS: