diff options
author | Stéphane Marchesin <[email protected]> | 2012-11-11 02:10:29 -0800 |
---|---|---|
committer | Stéphane Marchesin <[email protected]> | 2013-05-08 01:37:55 -0700 |
commit | 7f7c7fda83eced002a4dbff483cded2e31313acd (patch) | |
tree | 6660f630eac5e456d343640f158419b169c87880 | |
parent | 00035670de83f96499415bb8ef65374312505f5c (diff) |
i915g: Add more PIPE_CAP_* support
-rw-r--r-- | src/gallium/drivers/i915/i915_screen.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/gallium/drivers/i915/i915_screen.c b/src/gallium/drivers/i915/i915_screen.c index dfb76b3e98c..2d0cc78405d 100644 --- a/src/gallium/drivers/i915/i915_screen.c +++ b/src/gallium/drivers/i915/i915_screen.c @@ -215,6 +215,15 @@ i915_get_param(struct pipe_screen *screen, enum pipe_cap cap) case PIPE_CAP_MIN_MAP_BUFFER_ALIGNMENT: case PIPE_CAP_TEXTURE_BORDER_COLOR_QUIRK: return 0; + case PIPE_CAP_MAX_DUAL_SOURCE_RENDER_TARGETS: + case PIPE_CAP_STREAM_OUTPUT_PAUSE_RESUME: + case PIPE_CAP_VERTEX_BUFFER_OFFSET_4BYTE_ALIGNED_ONLY: + case PIPE_CAP_VERTEX_BUFFER_STRIDE_4BYTE_ALIGNED_ONLY: + case PIPE_CAP_VERTEX_ELEMENT_SRC_OFFSET_4BYTE_ALIGNED_ONLY: + return 0; + + case PIPE_CAP_GLSL_FEATURE_LEVEL: + return 120; case PIPE_CAP_CONSTANT_BUFFER_OFFSET_ALIGNMENT: return 16; |