Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gallium: use PIPE_SHADER_* everywhere, remove TGSI_PROCESSOR_* | Marek Olšák | 2016-04-22 | 1 | -1/+1 |
| | | | | Acked-by: Jose Fonseca <[email protected]> | ||||
* | r300g: try to use color varyings for texcoords if max texcoord limit is exceeded | Marek Olšák | 2013-02-06 | 1 | -0/+1 |
| | | | | +35 piglits | ||||
* | r300g: Init regalloc state during context creation | Tom Stellard | 2012-09-19 | 1 | -1/+1 |
| | | | | | | Initializing the regalloc state is expensive, and since it is always the same for every compile we only need to initialize it once per context. This should help improve shader compile times for the driver. | ||||
* | r300g/swtcl: don't print an error when getting ClipVertex | Marek Olšák | 2012-04-04 | 1 | -3/+13 |
| | | | | Draw can do it just fine. | ||||
* | r300/compiler: Add support for the output modifier (OMOD) | Tom Stellard | 2011-09-16 | 1 | -0/+1 |
| | |||||
* | r300g: copy the compiler from r300c | Marek Olšák | 2011-07-26 | 1 | -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. | ||||
* | r300/compiler: remove any code related to relative addressing of temporaries | Marek Olšák | 2011-01-23 | 1 | -0/+7 |
| | | | | | The hw can't do it and the code was useless anyway (it's lowered in the GLSL compiler). | ||||
* | r300g: do not remove unused constants if we are not near the limit | Marek Olšák | 2010-12-03 | 1 | -1/+4 |
| | |||||
* | r300g: Add new debug option for logging vertex/fragment program stats | Tom Stellard | 2010-10-18 | 1 | -2/+3 |
| | |||||
* | r300/compiler: Enable presubtract sources | Tom Stellard | 2010-09-10 | 1 | -0/+1 |
| | | | | | | | The r300 compiler can now emit instructions that select from the presubtract source. A peephole optimization has been added to convert instructions like: ADD Temp[0].x, none.1, -Temp[1].x into the INV (1 - src0) presubtract operation. | ||||
* | r300g,r300c: memset the compiler struct to zeros | Marek Olšák | 2010-09-05 | 1 | -0/+1 |
| | | | | This should fix bogus reports "Too many temporaries." and maybe some others. | ||||
* | r300g: add a new debug option which disables compiler optimizations | Marek Olšák | 2010-09-04 | 1 | -0/+1 |
| | | | | | | | | | | | | Those are: - dead-code elimination - constant folding - peephole (mainly copy propagation) - register allocation There are some bugs which I need to track down. Also fix up the descriptions of all the debug options. | ||||
* | r300/compiler: make optimizations not use 0.5 swizzles in vertex shaders | Marek Olšák | 2010-09-04 | 1 | -0/+1 |
| | |||||
* | r300/compiler: add new compiler parameter max_constants | Marek Olšák | 2010-09-04 | 1 | -0/+1 |
| | |||||
* | r300/compiler: add new compiler parameter max_alu_insts | Marek Olšák | 2010-09-04 | 1 | -0/+1 |
| | |||||
* | r300g: eliminate unused constants in VS | Marek Olšák | 2010-08-25 | 1 | -4/+13 |
| | |||||
* | r300g: do not print shader compiler errors by default | Marek Olšák | 2010-08-09 | 1 | -3/+2 |
| | |||||
* | r300/compiler: move hardware caps to the radeon_compiler base struct | Marek Olšák | 2010-05-26 | 1 | -0/+2 |
| | | | | Needed for vertex shaders too. | ||||
* | r300g: extend compile error message | Marek Olšák | 2010-05-23 | 1 | -1/+2 |
| | |||||
* | r300g: fix dummy vertex shader compilation | Marek Olšák | 2010-05-23 | 1 | -10/+9 |
| | |||||
* | r300g: fix psychedelic colors with SWTCL | Marek Olšák | 2010-05-15 | 1 | -9/+11 |
| | | | | | r300_vertex_shader::outputs was uninitialized. Also remove the tokens parameter. | ||||
* | r300g: Remove unnecessary header. | Vinson Lee | 2010-05-02 | 1 | -1/+0 |
| | |||||
* | r300g: merge VS output mapping state (VAP) to rasterizer block state (RS) | Marek Olšák | 2010-05-02 | 1 | -128/+3 |
| | | | | | | | | | | | | 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: fix possible crash when shader compilation fails | Marek Olšák | 2010-04-14 | 1 | -0/+3 |
| | | | | This hopefully fixes the crash in the FDO bug #27634, not the bug itself. | ||||
* | r300g: emit VS immediates along with VS code | Marek Olšák | 2010-04-14 | 1 | -0/+4 |
| | |||||
* | r300g: atomize fragment shader | Marek Olšák | 2010-04-12 | 1 | -1/+1 |
| | |||||
* | r300g: a fix for piglit/texrect-many | Marek Olšák | 2010-04-11 | 1 | -1/+4 |
| | | | | Broken since 146879284c6b844f35afe3a3ef3330726afbe8ac. | ||||
* | r300g: use a dummy replacement vertex shader if the shader compilation fails | Marek Olšák | 2010-04-11 | 1 | -13/+40 |
| | |||||
* | r300g: use a dummy replacement fragment shader if the shader compilation fails | Marek Olšák | 2010-04-11 | 1 | -1/+1 |
| | | | | Better than killing an application. | ||||
* | r300g: revisit some assertions and fix potential failures | Marek Olšák | 2010-04-11 | 1 | -16/+19 |
| | | | | | | | | * Turn some assertions to error messages. * At most 16 vertex elements can be set, others are ignored. * Rasterize at most 8 vertex-shader generic outputs, others are ignored. This includes fog and WPOS. * Unknown shader semantic names are ignored. | ||||
* | r300g: remove some XXXs | Marek Olšák | 2010-04-05 | 1 | -1/+0 |
| | | | | We can't have more than 8 texcoord outputs in VS. | ||||
* | r300g: print errors even on non-debug builds | Marek Olšák | 2010-03-27 | 1 | -1/+1 |
| | | | | We really need to get these into bug reports. | ||||
* | r300g: Remove unnecessary headers. | Vinson Lee | 2010-03-14 | 1 | -2/+0 |
| | |||||
* | r300g: share the VS-output-mapping state with SWTCL | Marek Olšák | 2010-03-07 | 1 | -110/+53 |
| | | | | And associated cleanups. | ||||
* | r300g: Atomize vertex shader. | Corbin Simpson | 2010-02-24 | 1 | -2/+2 |
| | |||||
* | r300g: Work around "defect" in r300compiler. | Corbin Simpson | 2010-02-10 | 1 | -0/+1 |
| | | | | | r300compiler doesn't handle half swizzles for vert shaders, which don't have them. So, for now, disable them. | ||||
* | r300g: Fix off-by-one errors in array bounds assertions. | Vinson Lee | 2010-02-09 | 1 | -3/+3 |
| | |||||
* | r300g: fix the rasterization of secondary color | Marek Olšák | 2010-01-17 | 1 | -3/+6 |
| | | | | | When the secondary color is used, the primary color must always be rasterized regardless of whether it is used or not. | ||||
* | r300g: add back-face color VS outputs | Marek Olšák | 2010-01-06 | 1 | -6/+34 |
| | | | | | Required for two-sided lighting. BTW we are approaching softpipe-level quality. ;) | ||||
* | r300g: fix SWTCL stream locations of texture coordinates | Marek Olšák | 2010-01-06 | 1 | -1/+1 |
| | | | | It might have caused hardlocks when TCL was bypassed, not sure. | ||||
* | r300g: disable the rasterization of WPOS if it's unused by the FS | Marek Olšák | 2010-01-06 | 1 | -19/+37 |
| | |||||
* | r300g: add WPOS | Marek Olšák | 2010-01-06 | 1 | -3/+53 |
| | |||||
* | Merge branch 'gallium-edgeflags' | Roland Scheidegger | 2009-12-22 | 1 | -0/+5 |
|\ | | | | | | | | | Conflicts: src/mesa/state_tracker/st_draw.c | ||||
| * | gallium: fix up drivers for edgeflag changes | Roland Scheidegger | 2009-12-19 | 1 | -0/+5 |
| | | | | | | | | | | several drivers which chose to ignore edgeflags might require some more work, while edgeflags never worked there they might now crash. | ||||
* | | r300g: fix routing of vertex streams if TCL is bypassed | Marek Olšák | 2009-12-09 | 1 | -18/+13 |
|/ | | | | Generating mipmaps finally works, among other things. Yay! | ||||
* | r300g: simplify allocations of VS output registers | Marek Olšák | 2009-12-01 | 1 | -56/+26 |
| | | | | | | | No need to parse TGSI tokens since it's easier to walk through shader semantics. Also fog coordinates now work reliably. | ||||
* | r300g: clean up derived states | Marek Olšák | 2009-12-01 | 1 | -3/+179 |
| | | | | | The state setups which aren't derived anymore have been moved to the VS and FS objects. | ||||
* | r300g: Miscellania. Avoid draw segfaults, s/true/TRUE/, etc. | Corbin Simpson | 2009-11-01 | 1 | -2/+2 |
| | | | | Cleared out my git stash. | ||||
* | r300g: Cleanup old static shader state. | Corbin Simpson | 2009-10-21 | 1 | -86/+0 |
| | |||||
* | r300g: fix scons build | Joakim Sindholt | 2009-10-05 | 1 | -3/+3 |
| | | | | | | 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. |