summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r600/r600_hw_states.c
AgeCommit message (Collapse)Author
2010-09-24r600g: fix polygon modeDave Airlie
this fixes glean'pointSprite test.
2010-09-24r600g: fixup sprite coord enable.Dave Airlie
this fixes piglit glsl-fs-pointcoord
2010-09-24r600g: fixup VP->FP output->input routing.Dave Airlie
We need to map the TGSI semantics to each other using the hw semantic ids. this fixes glsl-kwin-blur and glsl-routing.
2010-09-24r600g: fix draw-elements and draw-elements-base-vertexDave Airlie
2010-09-24r600g: add some more vertex format support.Dave Airlie
adds the sscaled formats, this passes some more of the draw-vertices tests.
2010-09-23r600g: use blitter to do db->cb flushing.Dave Airlie
use the blitter + custom stage to avoid doing a whole lot of state setup by hand. This makes life a lot easier for doing this on evergreen it also keeps all the state setup in one place. We setup a custom context state at the start with a flag to denote its for the flush, when it gets generated we generate the correct state for the flush and no longer have to do it all by hand. this should also make adding texture *to* depth easier.
2010-09-23r600g: fix depth readback on rv610 and other quirky variants.Dave Airlie
at least zreaddraw works for me here now on my rv610
2010-09-22r600g: fix typo in struct member nameDave Airlie
2010-09-20r600g: move chip class to radeon common structureJerome Glisse
So texture code can be shared btw new state design & old one. Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-09-19r600g: Cleanup viewport floats.Corbin Simpson
2010-09-19r600g: Clean up PS setup.Corbin Simpson
I didn't do r600d according to the docs; I split EXPORT_MODE to be a bit more useful and obvious. Hope this is okay.
2010-09-20r600g: fixup r700 CB_SHADER_CONTROL register.Dave Airlie
r600c emits this with a mask of each written output.
2010-09-19r600g: "tmp" is such a bad name for a texture.Corbin Simpson
2010-09-19r600g: Fix false and true.Corbin Simpson
2010-09-19r600g: Clean up some indentation and |= vs. | usage.Corbin Simpson
2010-09-19r600g: Deobfuscate and comment a few more functions in r600_hw_states.Corbin Simpson
2010-09-19r600g: Trivially deobfuscate r600_hw_states.Corbin Simpson
2010-09-19r600g: Use align() instead of handrolled code.Corbin Simpson
2010-09-20r600g: fix exports_ps to export a number not a mask.Henri Verbeet
2010-09-19r600g: Added support for TGSI_SEMANTIC_FACE.Tilman Sauerbeck
This makes the 'glsl1-gl_FrontFacing var (1)' piglit test pass. Signed-off-by: Tilman Sauerbeck <tilman@code-monkey.de>
2010-09-17r600g: Only set PA_SC_EDGERULE on rv770 and greater.Tilman Sauerbeck
This is what xf86-video-ati and r600c do. Signed-off-by: Tilman Sauerbeck <tilman@code-monkey.de>
2010-09-17r600g: Added DB_SHADER_CONTROL defines.Tilman Sauerbeck
Signed-off-by: Tilman Sauerbeck <tilman@code-monkey.de>
2010-09-17r600g: attempt to abstract kernel bos from pipe driver.Dave Airlie
introduce an abstraction layer between kernel bos and the winsys BOs. this is to allow plugging in pb manager with minimal disruption to pipe driver.
2010-09-16r600g: fixup texture state on evergreen.Dave Airlie
This whole set of state just seems wrong, another cut-n-paste nightmare.
2010-09-16r600g: use index min/max + index buffer offset.Dave Airlie
more prep work for fixing up buffer handling
2010-09-16r600g: pull r600_draw struct out into headerDave Airlie
we need this for future buffer rework, it also makes the vtbl easier
2010-09-15r600g: Silence uninitialized variable warning.Vinson Lee
2010-09-11r600g: Undo bo placement change.Tilman Sauerbeck
This reverts a part of e795ca8f3175fa6fd97b6b2ef2775e3f8803012a that causes artefacts and a performance drop. Signed-off-by: Tilman Sauerbeck <tilman@code-monkey.de>
2010-09-10r600g: fix warning in r600 pipe driverDave Airlie
2010-09-10r600g: add initial evergreen supportDave Airlie
adds shader opcodes + assembler support (except ARL) uses constant buffers add interp instructions in fragment shader adds all evergreen hw states adds evergreen pm4 support. this runs gears for me on my evergreen
2010-09-10r600g: don't need 3 bos here.Dave Airlie
the code should reloc correctly a single BO 3 times.
2010-09-08r600g: add support for constants in memory buffers.Dave Airlie
DX9 constants were in the constant file, and evergreen no longer support cfile. r600/700 can also use constants in memory buffers, so add the code (disabled for now) to enable that as precursor for evergreen.
2010-09-08r600g: abstract the hw states out behind a vtbl.Dave Airlie
this is step one towards evergreen support, it lets us plug in whole new hw level states.