summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/i915/i915_screen.c
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2012-07-12 20:47:20 +0100
committerJosé Fonseca <[email protected]>2012-07-13 13:01:51 +0100
commit6dddd184803da5f67f69e7c243dbb596b4dd4b9d (patch)
tree30929d27e0fa88b8de2f079ac28fb0f7729e5744 /src/gallium/drivers/i915/i915_screen.c
parent99728076ec1a8bd3feb0f23e41198d8d5e56d0c9 (diff)
draw,gallivm: Fix draw_get_shader_param.
- Use LLVM limits when LLVM is being used, instead of TGSI limits - Provide draw_get_shader_param_no_llvm for when llvm is never used (softpipe) - Eliminate several of the hacks around draw shader caps in several drivers Unfortunately the hack for PIPE_MAX_VERTEX_SAMPLERS is still necessary. Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/drivers/i915/i915_screen.c')
-rw-r--r--src/gallium/drivers/i915/i915_screen.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gallium/drivers/i915/i915_screen.c b/src/gallium/drivers/i915/i915_screen.c
index 88c826085c1..35b343e0de8 100644
--- a/src/gallium/drivers/i915/i915_screen.c
+++ b/src/gallium/drivers/i915/i915_screen.c
@@ -110,8 +110,6 @@ i915_get_shader_param(struct pipe_screen *screen, unsigned shader, enum pipe_sha
return PIPE_MAX_VERTEX_SAMPLERS;
else
return 0;
- case PIPE_SHADER_CAP_INTEGERS:
- return 1;
default:
return draw_get_shader_param(shader, cap);
}