From: Siavash Eliasi Date: Tue, 3 Dec 2013 04:53:06 +0000 (+0330) Subject: i915g: Set PIPE_CAP_MIN_MAP_BUFFER_ALIGNMENT to 64 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d273fe72df664435c7340523f66467d01f206525;p=mesa.git i915g: Set PIPE_CAP_MIN_MAP_BUFFER_ALIGNMENT to 64 v2: Fixed setting switch cases prior to PIPE_CAP_MIN_MAP_BUFFER_ALIGNMENT incorrectly. --- 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;