summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r300/r300_vs.c
AgeCommit message (Collapse)Author
2010-04-05r300g: remove some XXXsMarek Olšák
We can't have more than 8 texcoord outputs in VS.
2010-03-27r300g: print errors even on non-debug buildsMarek Olšák
We really need to get these into bug reports.
2010-03-14r300g: Remove unnecessary headers.Vinson Lee
2010-03-07r300g: share the VS-output-mapping state with SWTCLMarek Olšák
And associated cleanups.
2010-02-24r300g: Atomize vertex shader.Corbin Simpson
2010-02-10r300g: Work around "defect" in r300compiler.Corbin Simpson
r300compiler doesn't handle half swizzles for vert shaders, which don't have them. So, for now, disable them.
2010-02-09r300g: Fix off-by-one errors in array bounds assertions.Vinson Lee
2010-01-17r300g: fix the rasterization of secondary colorMarek Olšák
When the secondary color is used, the primary color must always be rasterized regardless of whether it is used or not.
2010-01-06r300g: add back-face color VS outputsMarek Olšák
Required for two-sided lighting. BTW we are approaching softpipe-level quality. ;)
2010-01-06r300g: fix SWTCL stream locations of texture coordinatesMarek Olšák
It might have caused hardlocks when TCL was bypassed, not sure.
2010-01-06r300g: disable the rasterization of WPOS if it's unused by the FSMarek Olšák
2010-01-06r300g: add WPOSMarek Olšák
2009-12-22Merge branch 'gallium-edgeflags'Roland Scheidegger
Conflicts: src/mesa/state_tracker/st_draw.c
2009-12-19gallium: fix up drivers for edgeflag changesRoland Scheidegger
several drivers which chose to ignore edgeflags might require some more work, while edgeflags never worked there they might now crash.
2009-12-09r300g: fix routing of vertex streams if TCL is bypassedMarek Olšák
Generating mipmaps finally works, among other things. Yay!
2009-12-01r300g: simplify allocations of VS output registersMarek Olšák
No need to parse TGSI tokens since it's easier to walk through shader semantics. Also fog coordinates now work reliably.
2009-12-01r300g: clean up derived statesMarek Olšák
The state setups which aren't derived anymore have been moved to the VS and FS objects.
2009-11-01r300g: Miscellania. Avoid draw segfaults, s/true/TRUE/, etc.Corbin Simpson
Cleared out my git stash.
2009-10-21r300g: Cleanup old static shader state.Corbin Simpson
2009-10-05r300g: fix scons buildJoakim Sindholt
So I didn't touch r300compiler, but r300g now compiles after having declarations and code untangled. As nha so gently points out, we shouldn't have to do this just to comply with MSVC compilers.
2009-09-06r300g: Debug flags infrastructureNicolai Hähnle
So that debugging is no longer a full-spam-or-nothing approach, you are now supposed to set the RADEON_DEBUG environment flag just like for classic Mesa. The available debug flags are different, however. Just running an OpenGL application with RADEON_DEBUG set to an arbitrary string will print out helpful information. Everything must be compiled with -DDEBUG for any of this to work
2009-07-30r300g: Remove extraneous printfNicolai Hähnle
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-07-30r300g: Use r300compiler for vertex shadersNicolai Hähnle
2009-07-23r300g: Actually mark shaders as translated/untranslated.Corbin Simpson
Also trust that Gallium will not give us TGSI that miscounts shader consts. This creates a 20x speedup on glxgears, from 8 FPS to 160 FPS.
2009-07-22gallium: simplify tgsi_full_immediate structKeith Whitwell
Remove the need to have a pointer in this struct by just including the immediate data inline. Having a pointer in the struct introduces complications like needing to alloc/free the data pointed to, uncertainty about who owns the data, etc. There doesn't seem to be a need for it, and it is unlikely to make much difference plus or minus to performance. Added some asserts as we now will trip up on immediates with more than four elements. There were actually already quite a few such asserts, but the >4 case could be used in the future to specify indexable immediate ranges, such as lookup tables.
2009-06-26r300-gallium: organize fragment/vertex shadersJoakim Sindholt
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.