projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
717cc0f
)
disable Z value scaling - it's done in sp_quad_depth_test.c
author
Brian
<brian.paul@tungstengraphics.com>
Thu, 16 Aug 2007 19:12:24 +0000
(13:12 -0600)
committer
Brian
<brian.paul@tungstengraphics.com>
Thu, 16 Aug 2007 19:12:24 +0000
(13:12 -0600)
src/mesa/pipe/tgsi/core/tgsi_exec.c
patch
|
blob
|
history
diff --git
a/src/mesa/pipe/tgsi/core/tgsi_exec.c
b/src/mesa/pipe/tgsi/core/tgsi_exec.c
index 0ffed20066e55c737e9a0f3e5ed8c5fa0aaeeb54..a1f46712b4fd806ad355e4f0cf12e3df0d41f7c6 100644
(file)
--- a/
src/mesa/pipe/tgsi/core/tgsi_exec.c
+++ b/
src/mesa/pipe/tgsi/core/tgsi_exec.c
@@
-1128,7
+1128,7
@@
exec_declaration(
{
if( mach->Processor == TGSI_PROCESSOR_FRAGMENT ) {
if( decl->Declaration.File == TGSI_FILE_INPUT ) {
- unsigned first, last, mask
, i, j
;
+ unsigned first, last, mask;
interpolation_func interp;
assert( decl->Declaration.Declare == TGSI_DECLARE_RANGE );
@@
-2299,7
+2299,8
@@
tgsi_exec_machine_run2(
tgsi_parse_free (&parse);
#endif
-#if MESA
+#if 0
+ /* we scale from floats in [0,1] to Zbuffer ints in sp_quad_depth_test.c */
if (mach->Processor == TGSI_PROCESSOR_FRAGMENT) {
/*
* Scale back depth component.