summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2016-02-19 20:25:10 +0100
committerSamuel Pitoiset <[email protected]>2016-02-20 19:25:12 +0100
commit89d25a82e85a058fbf822c1c1494aaacd8b4a40a (patch)
tree8a16dfeda6511141b48d2f58b6834a6fa9801433
parenta0f55e91cc6f628a75daadec74a299893dfd6d8a (diff)
nv50: do not advertise about compute shaders
Compute shaders are totally unsupported. This avoids Clover to report that OpenCL is supported on Tesla because it's a lie. Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Pierre Moreau <[email protected]> Reviewed-by: Ilia Mirkin <[email protected]>
-rw-r--r--src/gallium/drivers/nouveau/nv50/nv50_screen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nouveau/nv50/nv50_screen.c b/src/gallium/drivers/nouveau/nv50/nv50_screen.c
index 06b7bf986ad..8d11dd7bf21 100644
--- a/src/gallium/drivers/nouveau/nv50/nv50_screen.c
+++ b/src/gallium/drivers/nouveau/nv50/nv50_screen.c
@@ -264,8 +264,8 @@ nv50_screen_get_shader_param(struct pipe_screen *pscreen, unsigned shader,
case PIPE_SHADER_VERTEX:
case PIPE_SHADER_GEOMETRY:
case PIPE_SHADER_FRAGMENT:
- case PIPE_SHADER_COMPUTE:
break;
+ case PIPE_SHADER_COMPUTE:
default:
return 0;
}