summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r300/r300_state.c
AgeCommit message (Collapse)Author
2009-09-06r300g: Fix a number of warningsNicolai Hähnle
Seriously guys....
2009-09-05r300g: update rs_block state after changing rasterizerCooper Yuan
2009-09-05r300g: need to validate scissor and viewport state if bind new rasterizerCooper Yuan
2009-08-27r300g: Correct scissor setting, subtract 1 from window's width and heightCooper Yuan
2009-08-18r300g: Force off ZTOP optimizations for now.Corbin Simpson
2009-08-07r300g: Remove r300_constant_buffer::user_count.Corbin Simpson
Not needed with new compiler.
2009-07-30r300g: Use radeon compiler for fragment programsNicolai Hähnle
This is entirely untested on R500, and needs more testing on R300.
2009-07-30r300g: Use r300compiler for vertex shadersNicolai Hähnle
2009-07-23r300g: Actually mark shaders as translated/untranslated.Corbin Simpson
Also trust that Gallium will not give us TGSI that miscounts shader consts. This creates a 20x speedup on glxgears, from 8 FPS to 160 FPS.
2009-07-08r300g: Add endian fix to vertex fetcher setup.Corbin Simpson
As reported and initially tested by MrCooper.
2009-06-26r300g: EXT_provoking_vertex.Corbin Simpson
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-06-08r300-gallium: Don't emit UCP planes for SW TCL.Corbin Simpson
2009-06-05r300-gallium: Emit UCP.Corbin Simpson
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-18r300-gallium: Cleanup viewport state setup.Corbin Simpson
2009-05-18r300-gallium: Always do VTE, never software viewport.Corbin Simpson
This makes glxgears draw properly with SW TCL.
2009-05-17r300-gallium: Update XXX.Corbin Simpson
Lops work fine as long as HW TCL is off. (I think I know why.)
2009-05-17r300-gallium: vs: Dupe tokens, better debug, count spurious insts.Corbin Simpson
2009-05-16r300-gallium: Various cleanups leftover from before.Corbin Simpson
BEGIN/END_CS pair, a few asserts, and a slightly more correct VTE setup.
2009-05-12r300-gallium: add missing semicolonJoakim Sindholt
Yeah, that was stupid
2009-05-12r300-gallium: duplicate tokens in create_fs_stateJoakim Sindholt
This was all phoenix64's idea. Credit goes to him
2009-05-08r300-gallium, radeon: A couple cleanups.Corbin Simpson
Trying to track down goddamn bugs. :C
2009-04-26r300-gallium: Correctly flush Draw.Corbin Simpson
Should help with a few non-TCL bugs.
2009-04-15r300-gallium: Use viewport state.Corbin Simpson
2009-04-06r300-gallium: Properly setup HW/SW TCL controls.Corbin Simpson
This keeps non-TCL chipsets from locking up, and also fully unbreaks RADEON_NO_TCL rendering.
2009-04-05r300-gallium: Re-translate shaders if constants change.Corbin Simpson
2009-04-05r300-gallium: Properly interface with Draw for vert shaders.Corbin Simpson
2009-04-05r300-gallium: Update state handlers/setters for vertex shaders.Corbin Simpson
2009-04-04r300-gallium: Clean up compile warnings and strict compile errors.Corbin Simpson
2009-03-30r300-gallium: Properly redo shaders when constant buffer changes size.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-20r300-gallium: Properly offset scissors.Corbin Simpson
As per r300_reg, classic Mesa, and xf86-video-ati.
2009-03-18r300-gallium: Emit viewport state.Corbin Simpson
Note that this will break you, hard, if you're not using RADEON_NO_TCL. I really need to start vertex shaders soon.
2009-03-06r300-gallium: Flat/smooth shading state.Corbin Simpson
2009-03-06r300-gallium: Pick up a few more bits of rs_state.Corbin Simpson
Including two registers that already should have been covered...huh...
2009-02-28r300-gallium: Move maths from r300_state to r300_state_inlines.Corbin Simpson
2009-02-28r300-gallium: Be more Gallium-ish in some of the math.Corbin Simpson
2009-02-28r300-gallium: Move all state translators to r300_state_inlines.Corbin Simpson
Tryin' to do some cleanup.
2009-02-27r300-gallium: Turn true and false into TRUE and FALSE.Corbin Simpson
Match the rest of Gallium.
2009-02-18util: Move p_debug.h into util module.José Fonseca
The debug functions depend on several util function for os abstractions, and these depend on debug functions, so a seperate module is not possible.
2009-02-17r300-gallium: Properly init shader state.Corbin Simpson
2009-02-16r300-gallium: Set up draw rasterizer.Corbin Simpson
2009-02-16r300-gallium: Add draw_arrays and friends.Corbin Simpson
This is the last bit of Gallium-side plumbing for drawing things. From this point on, the only missing parts should be in r3xx-specific code areas...
2009-02-15r300-gallium: Fix scissors.Corbin Simpson
Don't use SCISSORS_OFFSET since we're DRI2, and don't forget to set scissors in clear.
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: 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
2009-02-04r300: A bit more cleanup and state handling.Corbin Simpson