projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6256f1
)
softpipe: enable GLSL 1.40
author
Dave Airlie
<airlied@redhat.com>
Thu, 6 Dec 2012 06:14:25 +0000
(16:14 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Sat, 8 Dec 2012 03:32:38 +0000
(13:32 +1000)
This enables GLSL 1.40 advertising by softpipe.
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/softpipe/sp_screen.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/softpipe/sp_screen.c
b/src/gallium/drivers/softpipe/sp_screen.c
index 1e752fbc8c805024fa3a21647134cd8b55d2665c..909fa1c98b2c5f25deb3f1db5d80ed8154e32330 100644
(file)
--- a/
src/gallium/drivers/softpipe/sp_screen.c
+++ b/
src/gallium/drivers/softpipe/sp_screen.c
@@
-147,7
+147,7
@@
softpipe_get_param(struct pipe_screen *screen, enum pipe_cap param)
case PIPE_CAP_MIXED_COLORBUFFER_FORMATS:
return 0;
case PIPE_CAP_GLSL_FEATURE_LEVEL:
- return 1
3
0;
+ return 1
4
0;
case PIPE_CAP_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION:
return 0;
case PIPE_CAP_COMPUTE: