diff options
author | Marek Olšák <[email protected]> | 2014-01-17 22:52:28 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2014-02-04 20:19:16 +0100 |
commit | 0354b769c2ee865ed40e9994f2147f2d86e989b7 (patch) | |
tree | 65d9f7e4d785a9199bc9aeaa2d2527d6a5647177 /src/gallium/drivers/i915/i915_screen.c | |
parent | 82c0914266ec53d59233b6d326bcfde7049da17b (diff) |
gallium: remove PIPE_CAP_MAX_COMBINED_SAMPLERS
This can be derived from the shader caps.
All GPUs from ATI/AMD, NVIDIA, and INTEL have separate texture slots
for each shader stage.
Diffstat (limited to 'src/gallium/drivers/i915/i915_screen.c')
-rw-r--r-- | src/gallium/drivers/i915/i915_screen.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/gallium/drivers/i915/i915_screen.c b/src/gallium/drivers/i915/i915_screen.c index 300233e70d0..a658b1bf3df 100644 --- a/src/gallium/drivers/i915/i915_screen.c +++ b/src/gallium/drivers/i915/i915_screen.c @@ -240,13 +240,6 @@ i915_get_param(struct pipe_screen *screen, enum pipe_cap cap) return is->debug.lie ? 1 : 0; /* Texturing. */ - case PIPE_CAP_MAX_COMBINED_SAMPLERS: - return i915_get_shader_param(screen, - PIPE_SHADER_VERTEX, - PIPE_SHADER_CAP_MAX_TEXTURE_SAMPLERS) + - i915_get_shader_param(screen, - PIPE_SHADER_FRAGMENT, - PIPE_SHADER_CAP_MAX_TEXTURE_SAMPLERS); case PIPE_CAP_MAX_TEXTURE_2D_LEVELS: return I915_MAX_TEXTURE_2D_LEVELS; case PIPE_CAP_MAX_TEXTURE_3D_LEVELS: |