summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/i915/i915_screen.c
diff options
context:
space:
mode:
authorNicolai Hähnle <[email protected]>2017-02-02 21:10:44 +0100
committerNicolai Hähnle <[email protected]>2017-04-05 10:37:04 +0200
commitd6e6fa01a51f3c9328c4cfdc1d7b3b448de11b84 (patch)
treecbced671242be91fd6d1bc6a69139f9c724fcb61 /src/gallium/drivers/i915/i915_screen.c
parent4e6feacf6aa589574da3b70f32ed4e87494c7000 (diff)
gallium: add sparse buffer interface and capability
v2: - explain the resource_commit interface in more detail Reviewed-by: Marek Olšák <[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 c66ae0b0cb9..70dc31f0173 100644
--- a/src/gallium/drivers/i915/i915_screen.c
+++ b/src/gallium/drivers/i915/i915_screen.c
@@ -303,6 +303,7 @@ i915_get_param(struct pipe_screen *screen, enum pipe_cap cap)
case PIPE_CAP_INT64_DIVMOD:
case PIPE_CAP_TGSI_TEX_TXF_LZ:
case PIPE_CAP_TGSI_CLOCK:
+ case PIPE_CAP_SPARSE_BUFFER_PAGE_SIZE:
return 0;
case PIPE_CAP_MAX_VIEWPORTS: