OSDN Git Service
(root)
/
android-x86
/
external-mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
843a6a3
)
i965: Enable IF statements in the VS.
author
Eric Anholt
<eric@anholt.net>
Wed, 1 Dec 2010 23:36:26 +0000
(15:36 -0800)
committer
Eric Anholt
<eric@anholt.net>
Thu, 2 Dec 2010 00:14:34 +0000
(16:14 -0800)
While the actual IF instructions were fixed by Zhenyu, we were still
flattening them to conditional moves.
src/mesa/drivers/dri/i965/brw_context.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/brw_context.c
b/src/mesa/drivers/dri/i965/brw_context.c
index
cb0a8b9
..
28549f2
100644
(file)
--- a/
src/mesa/drivers/dri/i965/brw_context.c
+++ b/
src/mesa/drivers/dri/i965/brw_context.c
@@
-122,9
+122,6
@@
GLboolean brwCreateContext( int api,
(i == MESA_SHADER_FRAGMENT);
ctx->ShaderCompilerOptions[i].EmitNoIndirectTemp =
(i == MESA_SHADER_FRAGMENT);
-
- if (intel->gen == 6)
- ctx->ShaderCompilerOptions[i].EmitNoIfs = (i == MESA_SHADER_VERTEX);
}
ctx->Const.VertexProgram.MaxNativeInstructions = (16 * 1024);