summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r300/r300_state_shader.c
AgeCommit message (Collapse)Author
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.
2009-05-20r300-gallium: r500-fs: POW.Corbin Simpson
I feel so unclean.
2009-05-20r300-gallium: r500-fs: LRP.Corbin Simpson
Goddammit. This cannot be the "easy way." :C
2009-05-20r300-gallium: r500-fs: Combine function.Corbin Simpson
2009-05-20r300-gallium: Prevent assert when fogcoords are present.Corbin Simpson
Seems like this file is the source of all bad logic. (Pun intended.)
2009-05-20r300-gallium: Another constantbuf shader recompile test.Corbin Simpson
Less briefly... Shaders need to be recompiled if their constantbuf offsets have changed. However, since we only change them from shaders if immediates need to be emitted, we shouldn't bother if the shader doesn't use immediates.
2009-05-20r300-gallium: fs: Remove cruft from way back when.Corbin Simpson
2009-05-17r300-gallium: r500-fs: DDX and DDY support.Corbin Simpson
Oh, look, GLSL instructions. I wonder what I'll do next.
2009-05-17r300-gallium: Add half-right COS and SIN.Corbin Simpson
HW trig does a premultiply by 2pi, where Mesa does another premultiply by pi. This is a problem.
2009-05-17r300-gallium: r500-fs: Enable depth writes, kinda.Corbin Simpson
Should work, but doesn't. Hm.
2009-03-31r300-gallium: Stubs for vertex shaders.Corbin Simpson
2009-03-30r300-gallium: r500-fs: If recompiling a shader, overwrite old insts.Corbin Simpson
2009-03-25r300-gallium: r300-fs: Moar.Corbin Simpson
2009-03-25r300-gallium: Unify shader interfaces, enable r300 shader, start unbreaking.Corbin Simpson
progs/trivial/clear no longer is horrifically wrong, just kind of wrong.
2009-03-25r300-gallium: r500-fs: Remove unused variable.Corbin Simpson
2009-03-17r300-gallium: r500-fs: Fixup immediate->constant counting a bit.Corbin Simpson
2009-03-17r300-gallium: r500-fs: Properly set up TEX/OUT.Corbin Simpson
2009-03-17r300-gallium: r500-fs: Texture insts, ABS, moar comments.Corbin Simpson
2009-03-17r300-gallium: Clean up some code, un-special-case scalar ops.Corbin Simpson
2009-03-17r300-gallium: r500-fs: CMP/MOV/SWZ, negation, ADD/MAD/MUL/SUB.Corbin Simpson
Also a fair amount of cleanup.
2009-03-16r300-gallium: r500-fs: Add ABS.Corbin Simpson
2009-03-16r300-gallium: r500-fs: Clamp only when saturation flags are set.Corbin Simpson
2009-03-16r300-gallium: r500-fs: Working ADD and MUL, add more sop stuff.Corbin Simpson
2009-03-16r300-gallium: Cleanup a few things.Corbin Simpson
2009-03-16r300-gallium: r500-fs: MUL.Corbin Simpson
2009-03-16r300-gallium: r500-fs: Stub out the simple scalar ops.Corbin Simpson
COS, SIN, and CSC are not simple.
2009-03-16r300-gallium: r500-fs: Add DPH.Corbin Simpson
2009-03-16r300-gallium: r500-fs: Add dot products.Corbin Simpson
We're cookin' now.
2009-03-16r300-gallium: r500-fs: Actually handle consts and imms correctly.Corbin Simpson
This makes mad.txt draw correctly. Yay!
2009-03-15r300-gallium: r500-fs: Setup immediates.Corbin Simpson
Textures still not working. RS block shenanigans expected.
2009-03-15r300-gallium: r500-fs: Add writemasks and some flexibility for MOV/SWZ.Corbin Simpson
2009-03-11r300-gallium: r500-fs: More texture fixes.Corbin Simpson
2009-03-11r300-gallium: r500-fs: Add shader dumper and more tex work.Corbin Simpson
2009-03-11r300-gallium: r500-fs: Add SWZ.Corbin Simpson
2009-03-11r300-gallium: Start swizzles.Corbin Simpson
2009-03-11r300-gallium: Begin R500 fragment shader assembler.Corbin Simpson
I love it so much. I also hate it a lot.
2009-02-13r300-gallium: Various thingies.Corbin Simpson
Add formats to framebuffer emit, fix up shader function names, make sure fragment format is emitted for r500.
2009-02-12r300-gallium: Take care of various bad dereferences in shader setup.Corbin Simpson
Unbreaks glxinfo.
2009-02-12r300-gallium: r300 passthrough shader, static shader objects, and clear code.Corbin Simpson
2009-02-12r300-gallium: Add r300 passthrough shader.Corbin Simpson
2009-02-12r300-gallium: Add r500 passthrough shader assembly.Corbin Simpson
This allows a simple passthrough fragment shader to be provided on r500.
2009-02-04r300: Add shader state stubs.Corbin Simpson