summaryrefslogtreecommitdiff
path: root/src/gallium/drivers
AgeCommit message (Collapse)Author
2010-09-22r600g: cleanup some of the DB blit codeDave Airlie
add cb/db flush states to the blit code. add support for the rv6xx that need special treatment. according to R6xx_7xx_3D.pdf set r700 CB_SHADER_CONTROL reg in blit code docs say dual export should be disabled for DB->CB
2010-09-22r600g: fix typo in struct member nameDave Airlie
2010-09-21r600g: occlusion query for new designJerome Glisse
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-09-21softpipe: add missing calls to set draw vertex samplers/viewsBrian Paul
Part of the fix for running softpipe w/ LLVM-enabled draw module.
2010-09-21r600g: fix multi buffer renderingJerome Glisse
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-09-21r600g: directly allocate bo for user bufferJerome Glisse
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-09-21llvmpipe: When failing free fs shader too.José Fonseca
2010-09-21llvmpipe: Describe how to profile llvmpipe.José Fonseca
2010-09-21Merge branch 'sprite-coord'Brian Paul
2010-09-21llvmpipe: fix flatshading in new line codeKeith Whitwell
Calculate interpolants before rearranging the vertices.
2010-09-21r600g: Removed debug code.Tilman Sauerbeck
Signed-off-by: Tilman Sauerbeck <tilman@code-monkey.de>
2010-09-21r600g: fix eg texture borders.Dave Airlie
texture border regs are indexed on evergreen.
2010-09-21r600g: fixup evergreen miptree setup.Dave Airlie
eg seems to have a higher pitch aligmment requirement and uses r700 cube setup this fixes a couple of piglit tests here.
2010-09-21r600g: deal with overflow of VTX/TEX CF clauses.Dave Airlie
running piglit's texrect-many caused the vtx to overflow.
2010-09-20llvmpipe: check bitshift against PIPE_MAX_SHADER_OUTPUTSBrian Paul
2010-09-20r600g: use pipe context for flushing inside mapJerome Glisse
This allow to share code path btw old & new, also remove check on reference this might make things a little slower but new design doesn't use reference stuff. Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-09-20llvmpipe: implement sprite coord origin modesBrian Paul
2010-09-20llvmpipe: rename sprite field, add sprite_coord_originBrian Paul
2010-09-20r600g: Implemented the Z and W component write for the SCS opcode.Tilman Sauerbeck
Signed-off-by: Tilman Sauerbeck <tilman@code-monkey.de>
2010-09-20llvmpipe: clean-up, comments in setup_point_coefficient()Brian Paul
2010-09-20r600g: Honour destination operand's writemask in the SCS implementation.Tilman Sauerbeck
If we are not going to write to the X or Y components of the destination vector we also don't need to prepare to compute SIN or COS. Signed-off-by: Tilman Sauerbeck <tilman@code-monkey.de>
2010-09-20llvmpipe: reformatting, remove trailing whitespace, etcBrian Paul
2010-09-20llvmpipe: indentation fixBrian Paul
2010-09-20llvmpipe: maintain fragment shader state for draw moduleBrian Paul
2010-09-20softpipe: fix whitespaceLuca Barbieri
2010-09-20softpipe: make z/s test always pass if no zsbuf, instead of crashingLuca Barbieri
D3D10 specifies this.
2010-09-20llvmpipe: fix query bug when no there's no sceneBrian Paul
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-20svga: Integer constant register file has a separate namespace.Michal Krol
Count int and float constants independently. Since there are only few i# constants available and hundreds of c# constants, it would be too easy to end up with an i# declaration out of its range.
2010-09-20svga: Fix relative addressing translation for pixel shaders.Michal Krol
Pixel shaders do not have address registers a#, only one loop register aL. Our only hope is to assume the address register is in fact a loop counter and replace it with aL. Do not translate ARL instruction for pixel shaders -- MOVA instruction is only valid for vertex saders. Make it more explicit relative addressing of inputs is only valid for pixel shaders and constants for vertex shaders.
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: add missing BC_INST wrapper for evergreenDave Airlie
2010-09-20r600g: fixup r700 CB_SHADER_CONTROL register.Dave Airlie
r600c emits this with a mask of each written output.
2010-09-20r600g: fix r700 cube map sizing.Dave Airlie
this fixes fbo-cubemap on r700.
2010-09-20r600g: add color/texture support for more depth formats.Dave Airlie
2010-09-20r600g: add z16 to color setupDave Airlie
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: drop debugging that snuck inDave Airlie
2010-09-20r600g: clean up valgrind issues on maxtargets test.Dave Airlie
2010-09-20r600g: fix fbo-drawbuffers-maxtargetsDave Airlie
we were leaking buffers since the flush code was added, it wasn't dropping references. move setting up flush to the set_framebuffer_state. clean up the flush state object. make more space in the BOs array for flushing.
2010-09-20r600g: modify index buffers for sizes the hw can't deal with.Dave Airlie
this just uses the common code from r300g now in util to do translations on r600g.
2010-09-20util/r300g: split the r300 index buffer modifier functions out to utilDave Airlie
These can be used by other drivers, like r600g. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-09-20r600g: fix exports_ps to export a number not a mask.Henri Verbeet
2010-09-19Revert "r600g: Flush upload buffers before draws instead of before flushes."Henri Verbeet
This reverts commit a1d9a58b825825723f1c5f7705f2ed3ef834038a. Flushing the upload buffers on draw is wrong, uploads aren't supposed to cause flushes in the first place. The real issue was radeon_bo_pb_map_internal() not respecting PB_USAGE_UNSYNCHRONIZED.