summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSiavash Eliasi <[email protected]>2013-12-03 08:23:06 +0330
committerIan Romanick <[email protected]>2014-01-29 09:11:39 -0700
commitd273fe72df664435c7340523f66467d01f206525 (patch)
tree1dc30247aa67059ad1922ba78ea793e4509c322e /src
parent4329e99b2368c7e91bef848a6f218abe79bb6bf9 (diff)
i915g: Set PIPE_CAP_MIN_MAP_BUFFER_ALIGNMENT to 64
v2: Fixed setting switch cases prior to PIPE_CAP_MIN_MAP_BUFFER_ALIGNMENT incorrectly.
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/i915/i915_screen.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/drivers/i915/i915_screen.c b/src/gallium/drivers/i915/i915_screen.c
index 302992f5e84..300233e70d0 100644
--- a/src/gallium/drivers/i915/i915_screen.c
+++ b/src/gallium/drivers/i915/i915_screen.c
@@ -211,7 +211,6 @@ i915_get_param(struct pipe_screen *screen, enum pipe_cap cap)
case PIPE_CAP_QUERY_TIMESTAMP:
case PIPE_CAP_QUERY_PIPELINE_STATISTICS:
case PIPE_CAP_TEXTURE_MULTISAMPLE:
- case PIPE_CAP_MIN_MAP_BUFFER_ALIGNMENT:
case PIPE_CAP_TEXTURE_BORDER_COLOR_QUIRK:
case PIPE_CAP_CUBE_MAP_ARRAY:
case PIPE_CAP_TEXTURE_BUFFER_OBJECTS:
@@ -227,6 +226,9 @@ i915_get_param(struct pipe_screen *screen, enum pipe_cap cap)
case PIPE_CAP_TGSI_VS_LAYER:
return 0;
+ case PIPE_CAP_MIN_MAP_BUFFER_ALIGNMENT:
+ return 64;
+
case PIPE_CAP_GLSL_FEATURE_LEVEL:
return 120;