projects
/
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 cb0a8b96c9c3cdb03b7e3de33320a9461a381a96..28549f2574ad2f1e064718fb172ee0ec7f1a8852 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);