summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/r300_vs.h
Commit message (Collapse)AuthorAgeFilesLines
* r300g: copy the compiler from r300cMarek Olšák2011-07-261-1/+1
| | | | | | | | What a beast. r300g doesn't depend on files from r300c anymore, so r300c is now left to its own fate. BTW 'make test' can be invoked from the gallium/r300 directory to run some compiler unit tests.
* r300g/swtcl: fix secondary color and back-face color outputsMarek Olšák2010-05-271-0/+4
| | | | | | | | | | These piglit tests have been fixed: - bgra-sec-color-pointer - glsl-routing See comments at the beginning of r300_vs_draw.c WPOS is implemented too but it doesn't work yet. I'm still working on it.
* r300g: fix psychedelic colors with SWTCLMarek Olšák2010-05-151-3/+3
| | | | | r300_vertex_shader::outputs was uninitialized. Also remove the tokens parameter.
* r300g: merge VS output mapping state (VAP) to rasterizer block state (RS)Marek Olšák2010-05-021-10/+0
| | | | | | | | | | | | These two should be tied together because what's set in VAP or stuffed in GA should be rasterized in RS. Not doing so causes a hardlock. The reason for the merge is that if stuffed texture coordinates (e.g. point sprite texgen) happen to occupy the texcoord slot dedicated to fog or wpos, the two must be relocated to other free slots, which needs remapping the vertex shader outputs. The rasterizer code is now literally a sequence read-rasterize-write.
* r300g: emit VS immediates along with VS codeMarek Olšák2010-04-141-0/+4
|
* r300g: use a dummy replacement vertex shader if the shader compilation failsMarek Olšák2010-04-111-4/+6
|
* r300g: share the VS-output-mapping state with SWTCLMarek Olšák2010-03-071-4/+9
| | | | And associated cleanups.
* r300g: disable the rasterization of WPOS if it's unused by the FSMarek Olšák2010-01-061-0/+6
|
* r300g: fix routing of vertex streams if TCL is bypassedMarek Olšák2009-12-091-1/+3
| | | | Generating mipmaps finally works, among other things. Yay!
* r300g: clean up derived statesMarek Olšák2009-12-011-4/+7
| | | | | The state setups which aren't derived anymore have been moved to the VS and FS objects.
* r300g: Begin separating HW TCL and SW TCL state and setup.Corbin Simpson2009-11-201-3/+0
| | | | | | | This patch removes draw_context entirely from the HW TCL path and cleans up a few other things along the way. Hopefully, nothing got broken. Thanks to Marek Olšák for testing, review, and pointing out my bugs. :3
* r300g: Use r300compiler for vertex shadersNicolai Hähnle2009-07-301-120/+17
|
* r300-gallium: organize fragment/vertex shadersJoakim Sindholt2009-06-261-0/+157
Appart from separating r3xx/r5xx fragment shaders, a more consistent naming scheme has been applied. From now on: r300 = all chips r3xx = R300/R400 only r5xx = R500 only This way r300_fragment_shader is the master struct, and the structs r3xx_fragment_shader and r5xx_fragment_shader inherits it.