projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d00e276
)
st/mesa: lower gl_TessLevel from float[] to vecn
author
Ilia Mirkin
<imirkin@alum.mit.edu>
Sun, 13 Jul 2014 00:09:06 +0000
(20:09 -0400)
committer
Marek Olšák
<marek.olsak@amd.com>
Wed, 22 Jul 2015 22:59:30 +0000
(
00:59
+0200)
src/mesa/state_tracker/st_extensions.c
patch
|
blob
|
history
diff --git
a/src/mesa/state_tracker/st_extensions.c
b/src/mesa/state_tracker/st_extensions.c
index 6c70df630370239b8104687e25b13fbb842b5a8c..899442fe43ed57571b00e26fb21906928c47dc08 100644
(file)
--- a/
src/mesa/state_tracker/st_extensions.c
+++ b/
src/mesa/state_tracker/st_extensions.c
@@
-253,6
+253,8
@@
void st_init_limits(struct pipe_screen *screen,
options->LowerClipDistance = true;
}
+ c->LowerTessLevel = true;
+
c->MaxCombinedTextureImageUnits =
_min(c->Program[MESA_SHADER_VERTEX].MaxTextureImageUnits +
c->Program[MESA_SHADER_TESS_CTRL].MaxTextureImageUnits +