summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/r300/compiler
AgeCommit message (Collapse)Author
2010-04-16r300/compiler: Fix texture instruction readmasks.Corbin Simpson
No immediate benefit, it was just bugging me.
2010-04-16r300/compiler: Fix magic numbers in readmasks.Corbin Simpson
2010-04-16r300/compiler: Oops, this slipped through.Corbin Simpson
2010-04-16r300/compiler: Save Q for mirror and repeat.Corbin Simpson
2010-04-16r300/compiler: Split off texture fixes to their own file.Corbin Simpson
Yes, I'm fully aware this generates subpar code on r500.
2010-04-16r300/compiler: fix repeat wrap mode for TXP and NPOTsMarek Olšák
No idea why st/mesa unnecessarily inserts TXP where TEX is sufficient. Also re-enabling the NPOT fallback for repeat in r300g.
2010-04-15r300/compiler: kill off RC_WRAP_CLAMPMarek Olšák
A variant thereof might be later reintroduced for the mirrored-clamp modes.
2010-04-12r300/compiler: Hax around instructions limits in mirroring code.Corbin Simpson
Stuff's starting to show up in arbnpot.
2010-04-12r300/compiler: Comment code, add much better mirror maths.Corbin Simpson
2010-04-11r300/compiler: Implement texcoord repeat and mirror for NPOT.Corbin Simpson
2010-04-11r300/compiler: Add NPOT compatibility fields to external state.Corbin Simpson
Completely unused for now.
2010-04-10r300/compiler: Remove unused variable.Vinson Lee
2010-04-05r300/compiler: make the max number of fragment shader temporaries adjustableMarek Olšák
2010-04-03r300 compiler: add target output debugging.Dave Airlie
print the output target in the FP debug. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-03-30r300/compiler: Unbreak DDX/DDY.Corbin Simpson
Fixes progs/glsl/deriv.
2010-03-26r300/compiler: Lower CMP for vertex programs.Corbin Simpson
I think my maths is right?
2010-03-21r300/compiler: fix assertion failure in the r500-fragprog emission pathMarek Olšák
2010-02-26r300/compiler: Assert that array index is not negative.Vinson Lee
2010-02-10r300/compiler: r500-fs: Properly set HW register swizzles.Corbin Simpson
Fixes fallout from 9a1bf52c.
2010-02-03r300: fix compiler bugs introduced with MRT changes.Dave Airlie
the first looks like a definite bug, the second I'm not so confident of but it works. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-02-02r300compiler: Add MRT number to debugging output.Corbin Simpson
2010-02-02r300compiler, r300 classic, r300g: Add support for MRTs in the frag shader.Corbin Simpson
This maybe breaks the vert compiler. Hopefully not.
2010-01-17radeon_compiler: include main/compiler.h for compiler portability macrosAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> Reviewed-by: Corbin Simpson <MostAwesomeDude@gmail.com>
2010-01-08Merge branch 'mesa_7_7_branch'Brian Paul
Conflicts: src/mesa/drivers/dri/i965/brw_wm_emit.c
2010-01-08r300: Move initial declaration outside for loop.Vinson Lee
2010-01-06r300/compiler: add full viewport transformation support in WPOS codegenMarek Olšák
2010-01-06Make sure we use only signed/unsigned ints with bitfields.Michal Krol
Seems to be the only way to stay fully portable.
2010-01-03r300: Use C-style comments.Vinson Lee
2010-01-03r300: Silence 'mixed declarations and code' warnings.Vinson Lee
2010-01-03r300: Silence 'mixed declarations and code' warning.Vinson Lee
2010-01-03r300: Silence 'mixed declarations and code' warning.Vinson Lee
2009-11-22r300: fix VP source conflict resolution on 64-bit machinesMaciej Cencora
On 32bit machines we were lucky because the sizeof(reg) == sizeof(rc_src_register). On 64bit machines pointers are 8 bytes long, so we were overwriting other data.
2009-11-22r300: fix SIN/COS/SCS instructions for R300 fpMaciej Cencora
2009-10-07r300compiler: fix scons build againJoakim Sindholt
2009-10-07Merge branch 'master' into r300g-glslNicolai Hähnle
Conflicts: src/gallium/drivers/r300/r300_tgsi_to_rc.c Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-10-06r300/compiler: Fix R300 vertex program dumpsNicolai Hähnle
The source register field has 8 bits. Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-10-06r300/compiler: Fix yet another regression in register allocationNicolai Hähnle
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-10-06r300/compiler: Fix a really stupid logic inversion in the generic dataflow codeNicolai Hähnle
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-10-06r300/compiler: Fix regression in pair schedulingNicolai Hähnle
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
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-10-04r300/compiler Add support for more of the Sxx set instructionsNicolai Hähnle
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-10-04r300/compiler: Emit flow control instructions and ALU result writes on R500Nicolai Hähnle
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-10-04r300/compiler: Refactor the radeon_pair code to support control flow ↵Nicolai Hähnle
instructions Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-10-04r300/compiler: Refactor to allow different instruction typesNicolai Hähnle
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-10-04r300/compiler: Introduce aluresult register for branch operation supportNicolai Hähnle
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-10-03r300/compiler: Introduce control flow instructions and refactor dataflowNicolai Hähnle
Note that control flow instruction support isn't actually fully functional yet. Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-09-21Merge branch 'master' into r300-compilerNicolai Hähnle
There were additional non-textual conflicts. Conflicts: src/gallium/drivers/r300/r300_tgsi_to_rc.c src/mesa/drivers/dri/r300/compiler/r3xx_vertprog.c src/mesa/drivers/dri/r300/compiler/radeon_program.c src/mesa/drivers/dri/r300/compiler/radeon_program_alu.c
2009-09-21r300: Zero-initialize register for NV_vertex_programNicolai Hähnle
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-09-21r300: Fix handling of NV_vertex_program parametersNicolai Hähnle
The handling is a bit inefficient, unfortunately, but I don't want to make any intrusive changes for Mesa 7.6. Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-09-20r300/compiler: Fix trig instructions in R300 fpNicolai Hähnle
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>