Brian
578962d624
Finish up decls for packed fragment program outputs.
2007-10-09 16:20:00 -06:00
Brian
bc139a19b0
Pack fragment program outputs to be consistant with vertex programs.
...
Previously, output[0] was always Z and output[1] was color. Now output[0]
will be color if Z is not written.
In shade_quad() use the semantic info to determine which quantity is in
which output slot.
2007-10-09 14:55:22 -06:00
Brian
635c4c41bd
Add outputs_written bitfield to pipe_shader_state, use it to determine if fragment shader writes Z.
2007-10-03 14:43:57 -06:00
Michel Dänzer
344464bf2e
Track fragment and vertex shader code generation via pipe shader state objects.
...
Unfortunately, the generated fragment shader code is effectively unusable until
it handles quad->mask.
2007-10-03 20:33:23 +02:00
Brian
b13618c316
fix a few vert/frag program items to get i915 driver going again
2007-10-01 13:45:53 -06:00
Zack Rusin
8731e391f5
Use sse only if GALLIUM_SSE is defined
2007-09-28 12:29:30 -04:00
Zack Rusin
a1a989f0be
Redoing the way we handle vertex shaders for the draw module.
2007-09-28 12:29:22 -04:00
Zack Rusin
901577e07f
Revert "Redoing the way we handle vertex shaders for the draw module."
...
This reverts commit 6dcfddb8e2
.
2007-09-28 12:28:16 -04:00
Zack Rusin
f2a33a63f1
Revert "Use sse only if GALLIUM_SSE is defined"
...
This reverts commit 57b5d36057
.
2007-09-28 12:28:06 -04:00
Zack Rusin
57b5d36057
Use sse only if GALLIUM_SSE is defined
2007-09-28 09:12:20 -04:00
Zack Rusin
6dcfddb8e2
Redoing the way we handle vertex shaders for the draw module.
2007-09-28 09:12:20 -04:00
Keith Whitwell
65e3af51ef
Enable codegen based whenever __i386__ is defined.
2007-09-27 07:56:23 +01:00
Brian
b5051bf6bb
clean-up #includes
2007-09-25 15:21:19 -06:00
Brian
1201eb8529
disable TGSI_DEBUG
2007-09-25 14:46:18 -06:00
Brian
f9ed2fdaac
translate Mesa programs to TGSI programs (formerly in st_atom_[fv]s.c)
2007-09-25 14:22:13 -06:00