diff options
author | Dave Airlie <[email protected]> | 2017-05-26 11:27:22 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2017-11-03 15:03:30 +1000 |
commit | 0722b6d693b0165e81c85ac8509f1d4c2f7ee87e (patch) | |
tree | 79240d3ec14f23d646a4a4acae6dd1b0e603b411 /src/gallium/drivers | |
parent | cc69f2385ee5405cd1bef746d3e9006fc5430545 (diff) |
i915g: remove some unknown cap warnings.
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r-- | src/gallium/drivers/i915/i915_screen.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gallium/drivers/i915/i915_screen.c b/src/gallium/drivers/i915/i915_screen.c index d7bd8102c71..2a8853908dc 100644 --- a/src/gallium/drivers/i915/i915_screen.c +++ b/src/gallium/drivers/i915/i915_screen.c @@ -168,6 +168,11 @@ i915_get_shader_param(struct pipe_screen *screen, case PIPE_SHADER_CAP_TGSI_LDEXP_SUPPORTED: case PIPE_SHADER_CAP_TGSI_FMA_SUPPORTED: case PIPE_SHADER_CAP_TGSI_ANY_INOUT_DECL_RANGE: + case PIPE_SHADER_CAP_MAX_SHADER_BUFFERS: + case PIPE_SHADER_CAP_MAX_SHADER_IMAGES: + case PIPE_SHADER_CAP_LOWER_IF_THRESHOLD: + case PIPE_SHADER_CAP_PREFERRED_IR: + case PIPE_SHADER_CAP_TGSI_SKIP_MERGE_REGISTERS: return 0; case PIPE_SHADER_CAP_MAX_UNROLL_ITERATIONS_HINT: return 32; @@ -399,6 +404,9 @@ i915_get_param(struct pipe_screen *screen, enum pipe_cap cap) case PIPE_CAP_UMA: return 1; + case PIPE_CAP_COMPUTE: + case PIPE_CAP_QUERY_BUFFER_OBJECT: + return 0; default: debug_printf("%s: Unknown cap %u.\n", __FUNCTION__, cap); return 0; |