summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/r300/r300_state.c
AgeCommit message (Collapse)Author
2008-06-01[r300] Fix KIL instruction and swizzling of texture coordinatesNicolai Haehnle
The KIL instruction only works if at least one texture unit is enabled in hardware. Texture instructions do not support swizzles, negations etc. natively, so we now emit an explicit swizzling etc. operation when the texture coordinate requires it. This fixes the Piglit fp-kil test.
2008-05-31r500: Use 8bit fog alpha compare value.Markus Amsler
This fixes transparency issues on r500 by enabling backwards compatibility with the r300 alpha compare value.
2008-05-28Merge branch 'r500-support'Dave Airlie
Bring in all the r500 3D code into master should be as stable as the r300 code it is landing on top off. Conflicts: src/mesa/drivers/dri/r300/r300_reg.h src/mesa/drivers/dri/r300/r300_state.c src/mesa/drivers/dri/radeon/radeon_screen.c
2008-05-28R3/4/5xx: update to use drm get_param for num gb pipesAlex Deucher
2008-05-28r500: cleanup warnings and include filesDave Airlie
2008-05-27r500: the cs is shared per context - doh so don't use for program upload.Dave Airlie
Also remove some unused bits of the r500 fragprog struct
2008-05-27r500: reset fp/fp_const countsDave Airlie
2008-05-27r300/r500: emit flush inside vap_cntl state atomDave Airlie
Not sure if this is a good or bad plan, it certainly doesn't make things worse here.
2008-05-27r500: remove debuggingDave Airlie
2008-05-27r300/r500: fix r500 fragment program texture unit referencesDave Airlie
2008-05-27r500: initial support for tmu mappingsDave Airlie
2008-05-21r500: set the RS unit register for R500 not R300 dangnammit..Dave Airlie
So this appears to be my BUG. damn it to hell. also fix sec color to be more like spec says.
2008-05-18r300: fixup US_OUT_FMT bitsDave Airlie
2008-05-18r500: you can have a single texcoordDave Airlie
2008-05-17r500: write out the correct FP registersAlex Deucher
2008-05-15r500: default rsunit swizzle like fglrxDave Airlie
2008-05-15r500: fixup r500 rs unit texture coordinate countingDave Airlie
2008-05-15r3/500: emit RS state before VAPDave Airlie
2008-05-13R300: clean up GA registersAlex Deucher
2008-05-13R3xx: clean up ZB registersAlex Deucher
2008-05-13R300: clean up CB registersAlex Deucher
2008-05-13R300: clean up Fog registersAlex Deucher
2008-05-13R300: cleanup FS code and fill in missing detailsAlex Deucher
2008-05-13R3xx: more PVS cleanupAlex Deucher
2008-05-07r500: cleanup r500 RS setupDave Airlie
2008-05-05r500: make tri-param workDave Airlie
This makes constant work which are 32-bit on r500 unlike r300. Switch MOV to using MAD no idea if we might have negative things MAX 0,-5 is likely to do the wrong thing..
2008-05-05r500: make sure we emit max temp atom.Dave Airlie
We don't appear to update max_temp_idx yet anywhere though
2008-05-05r300: fix swtcl texrect path properly.Dave Airlie
We really need to update the shader state so the texrect parameters work. This should fix compiz looking crappy on rs480 and rs690
2008-05-05r300: fix swtcl texrect path properly.Dave Airlie
We really need to update the shader state so the texrect parameters work. This should fix compiz looking crappy on rs480 and rs690 (cherry picked from commit 66a5562ce2906fbf5b96d1cee18f9a31a78c4360)
2008-05-04r300: Set correct VAP_CNTL per vertex program.Markus Amsler
2008-05-03r300: Set correct VAP_CNTL per vertex program.Markus Amsler
adapted from Markus' patch on bug 15386 with updates for non-TCL and R500.
2008-05-02Merge branch 'r500-support' into r500testCorbin Simpson
Bringing the FPS code up-to-date. Conflicts: src/mesa/drivers/dri/r300/r300_emit.c src/mesa/drivers/dri/r300/r300_ioctl.c src/mesa/drivers/dri/r300/r300_state.c src/mesa/drivers/dri/r300/r300_swtcl.c src/mesa/drivers/dri/r300/r500_fragprog.c src/mesa/drivers/dri/r300/r500_fragprog.h
2008-05-03r300: update r300 rs unit for swtcl need to fix r500 most likelyDave Airlie
2008-05-02Merge branch 'r345-cleanup' of git://people.freedesktop.org/~agd5f/mesa into ↵Corbin Simpson
r500test Adding Alex's cleanup patches. This adds r5xx TCL! Whoo-hoo! Conflicts: src/mesa/drivers/dri/r300/r300_state.c src/mesa/drivers/dri/radeon/radeon_chipset.h src/mesa/drivers/dri/radeon/radeon_screen.c
2008-05-02R3/4/5: fix TCL on r5xx, cleanup PVS codeAlex Deucher
2008-05-02R300: cleanup VAP_CLIP_CNTLAlex Deucher
2008-05-02Update commentAlex Deucher
2008-05-02R5xx: various updatesAlex Deucher
- fixup VAP_CNTL setup - remove extra instruction in r5xx passthrough shader - add notes about pipe config
2008-05-02R5xx: Add R5xx pci idsAlex Deucher
2008-05-02fixup r500 bits for renamingDave Airlie
2008-05-02r500: fixup fake shader to keep gears goingDave Airlie
2008-05-02r500: enable gb tiling for r5xxDave Airlie
2008-05-02r500: fixup support for emitting fragment program to hardware.Dave Airlie
Also fixup the constant emission this breaks glxgears from what I can see but its another step to correctness
2008-05-02r300: this code really shouldn't be here.Dave Airlie
For R500 just ignore it for now while I do something interesting like run glxgears.
2008-05-02mesa: cleanup state emission and rs for r500Dave Airlie
trivial clear app now renders
2008-05-02r500 RS unit setupDave Airlie
2008-05-02some basic r500 portageDave Airlie
2008-05-02Start of TEX/TXP support.Corbin Simpson
Still having problems with temps and consts, though...
2008-05-02Initial r5xx fragment program compiler support.Corbin Simpson
Includes fallback shader and a handful of working opcodes.
2008-05-02fixup r500 bits for renamingDave Airlie