Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-05-26 | r300/compiler: shorten swizzle expressions | Marek Olšák | |
2010-05-19 | r300/compiler: Implement constant folding | Nicolai Hähnle | |
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com> | |||
2010-05-19 | r300/compiler: Emit 0.5 swizzle when necessary. | Tom Stellard | |
Signed-off-by: Marek Olšák <maraeo@gmail.com> | |||
2010-05-16 | r300/compiler: fix peephole optimizer | Tom Stellard | |
Tested-by: Marek Olšák <maraeo@gmail.com> | |||
2010-05-16 | r300/compiler: Implement simple peephole optimizer | Nicolai Hähnle | |
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com> | |||
2010-05-15 | r300/compiler: silence a warning | Marek Olšák | |
2010-05-08 | r300g: respect compare mode regardless of sampler type | Marek Olšák | |
2010-05-08 | r300/compiler: fake equal/notequal for shadow samplers | Marek Olšák | |
This is actually better than a real implementation, which would be useless due to inaccuracy (I know because I've tried to implement it). | |||
2010-05-08 | r300/compiler: use perspective division only for TXP in shadow samplers | Marek Olšák | |
2010-05-08 | r300/compiler: make shadow sampler codegen more readable, add comments | Marek Olšák | |
2010-05-08 | r300/compiler: shorten RC_*SWIZZLE* expressions | Marek Olšák | |
2010-05-08 | r300/compiler: generalize depth texture mode to support arbitrary swizzles | Marek Olšák | |
2010-05-08 | r300/compiler: fix LIT instruction case 0^0 = 1 | Marek Olšák | |
2010-04-19 | r300/compiler: lower CEIL | Marek Olšák | |
2010-04-19 | r300/compiler: enable branch emulation for vertex shaders | Marek Olšák | |
2010-04-19 | r300/compiler: optimize CMP for vertex shaders a bit | Marek Olšák | |
2010-04-19 | r300/compiler: Use memory_pool_array_reserve in deadcode elimination | Nicolai Hähnle | |
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com> | |||
2010-04-19 | r300/compiler: Use memory_pool_array_reserve in r500-fragprog_emit | Nicolai Hähnle | |
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com> | |||
2010-04-19 | r300/compiler: enable branch emulation for R500 fragment programs | Marek Olšák | |
2010-04-19 | r300/compiler: Implement branch emulation for R300 fragment programs | Nicolai Hähnle | |
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com> | |||
2010-04-17 | r300/compiler: Remove unnecessary header. | Vinson Lee | |
2010-04-16 | r300/compiler: Add radeon_program_tex.c to SCons build. | Vinson Lee | |
This was missed in commit f8a14186809356871ae74159c774e9e3959a22e5. | |||
2010-04-17 | r300/compiler: add emulation of all mirrored-clamp wrap modes for NPOT textures | Marek Olšák | |
2010-04-17 | r300/compiler: replace mirrored-repeat emulation with a faster version | Marek Olšák | |
Also, the Negate bitfield was 1 instead of RC_MASK_XYZ in the previous version, causing incorrect rendering. | |||
2010-04-17 | r300/compiler: add handy definitions for XYZ0 and smeared half swizzling | Marek Olšák | |
2010-04-16 | r300/compiler: make ARB_shadow_ambient optional | Marek Olšák | |
This saves constant register space for r300g, which doesn't need this feature. | |||
2010-04-16 | r300/compiler: restore r500-specific bits of TEX transformations | Marek Olšák | |
2010-04-16 | r300/compiler: Fix texture instruction readmasks. | Corbin Simpson | |
No immediate benefit, it was just bugging me. | |||
2010-04-16 | r300/compiler: Fix magic numbers in readmasks. | Corbin Simpson | |
2010-04-16 | r300/compiler: Oops, this slipped through. | Corbin Simpson | |
2010-04-16 | r300/compiler: Save Q for mirror and repeat. | Corbin Simpson | |
2010-04-16 | r300/compiler: Split off texture fixes to their own file. | Corbin Simpson | |
Yes, I'm fully aware this generates subpar code on r500. | |||
2010-04-16 | r300/compiler: fix repeat wrap mode for TXP and NPOTs | Marek 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-15 | r300/compiler: kill off RC_WRAP_CLAMP | Marek Olšák | |
A variant thereof might be later reintroduced for the mirrored-clamp modes. | |||
2010-04-12 | r300/compiler: Hax around instructions limits in mirroring code. | Corbin Simpson | |
Stuff's starting to show up in arbnpot. | |||
2010-04-12 | r300/compiler: Comment code, add much better mirror maths. | Corbin Simpson | |
2010-04-11 | r300/compiler: Implement texcoord repeat and mirror for NPOT. | Corbin Simpson | |
2010-04-11 | r300/compiler: Add NPOT compatibility fields to external state. | Corbin Simpson | |
Completely unused for now. | |||
2010-04-10 | r300/compiler: Remove unused variable. | Vinson Lee | |
2010-04-05 | r300/compiler: make the max number of fragment shader temporaries adjustable | Marek Olšák | |
2010-04-03 | r300 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-30 | r300/compiler: Unbreak DDX/DDY. | Corbin Simpson | |
Fixes progs/glsl/deriv. | |||
2010-03-26 | r300/compiler: Lower CMP for vertex programs. | Corbin Simpson | |
I think my maths is right? | |||
2010-03-21 | r300/compiler: fix assertion failure in the r500-fragprog emission path | Marek Olšák | |
2010-02-26 | r300/compiler: Assert that array index is not negative. | Vinson Lee | |
2010-02-10 | r300/compiler: r500-fs: Properly set HW register swizzles. | Corbin Simpson | |
Fixes fallout from 9a1bf52c. | |||
2010-02-03 | r300: 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-02 | r300compiler: Add MRT number to debugging output. | Corbin Simpson | |
2010-02-02 | r300compiler, r300 classic, r300g: Add support for MRTs in the frag shader. | Corbin Simpson | |
This maybe breaks the vert compiler. Hopefully not. | |||
2010-01-17 | radeon_compiler: include main/compiler.h for compiler portability macros | Alan Coopersmith | |
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> Reviewed-by: Corbin Simpson <MostAwesomeDude@gmail.com> |