summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
Commit message (Collapse)AuthorAgeFilesLines
* llvmpipe: Special case complementary and identify blend factors in SoA.José Fonseca2010-09-224-44/+79
| | | | | | | | One multiplication instead of two. Also fix floating point random number generation and verification. TODO: Do the same for AoS blending.
* nvfx: remove gl_PointCoord hackLuca Barbieri2010-09-221-7/+6
| | | | Now Gallium has the proper fix, thanks to Brian Paul.
* r600g: disable dirty handling on texture from depth code.Dave Airlie2010-09-221-8/+1
| | | | | | | nothing was every dirtying the object again, the mesa-demos reflect test was just stalling. this fixes glean readPixSanity.
* r600g: make stencil readback workDave Airlie2010-09-221-2/+1
| | | | need to write two components to get stencil components as well
* r600g: cleanup some of the DB blit codeDave Airlie2010-09-222-4/+65
| | | | | | | | | 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
* r600g: fix typo in struct member nameDave Airlie2010-09-225-7/+7
|
* r600g: occlusion query for new designJerome Glisse2010-09-212-1/+84
| | | | Signed-off-by: Jerome Glisse <[email protected]>
* softpipe: add missing calls to set draw vertex samplers/viewsBrian Paul2010-09-211-0/+8
| | | | Part of the fix for running softpipe w/ LLVM-enabled draw module.
* r600g: fix multi buffer renderingJerome Glisse2010-09-211-2/+2
| | | | Signed-off-by: Jerome Glisse <[email protected]>
* r600g: directly allocate bo for user bufferJerome Glisse2010-09-212-3/+39
| | | | Signed-off-by: Jerome Glisse <[email protected]>
* llvmpipe: When failing free fs shader too.José Fonseca2010-09-211-0/+1
|
* llvmpipe: Describe how to profile llvmpipe.José Fonseca2010-09-211-0/+38
|
* Merge branch 'sprite-coord'Brian Paul2010-09-219-39/+88
|\
| * llvmpipe: check bitshift against PIPE_MAX_SHADER_OUTPUTSBrian Paul2010-09-201-2/+5
| |
| * llvmpipe: implement sprite coord origin modesBrian Paul2010-09-201-6/+12
| |
| * llvmpipe: rename sprite field, add sprite_coord_originBrian Paul2010-09-205-6/+10
| |
| * llvmpipe: clean-up, comments in setup_point_coefficient()Brian Paul2010-09-201-5/+10
| |
| * llvmpipe: reformatting, remove trailing whitespace, etcBrian Paul2010-09-201-21/+23
| |
| * llvmpipe: indentation fixBrian Paul2010-09-201-1/+1
| |
| * llvmpipe: maintain fragment shader state for draw moduleBrian Paul2010-09-202-0/+14
| |
| * gallium: rework handling of sprite_coord_enable stateBrian Paul2010-09-172-1/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement the pipe_rasterizer_state::sprite_coord_enable field in the draw module (and softpipe) according to what's specified in the documentation. The draw module can now add any number of extra vertex attributes to a post-transformed vertex and generate texcoords for those attributes per sprite_coord_enable. Auto-generated texcoords for sprites only worked for one texcoord unit before. The frag shader gl_PointCoord input is now implemented like any other generic/texcoord attribute. The draw module now needs to be informed about fragment shaders since we need to look at the fragment shader's inputs to know which ones need auto-generated texcoords. Only softpipe has been updated so far.
* | llvmpipe: fix flatshading in new line codeKeith Whitwell2010-09-211-6/+13
| | | | | | | | Calculate interpolants before rearranging the vertices.
* | r600g: Removed debug code.Tilman Sauerbeck2010-09-211-1/+0
| | | | | | | | Signed-off-by: Tilman Sauerbeck <[email protected]>
* | r600g: fix eg texture borders.Dave Airlie2010-09-212-15/+19
| | | | | | | | texture border regs are indexed on evergreen.
* | r600g: fixup evergreen miptree setup.Dave Airlie2010-09-211-2/+5
| | | | | | | | | | | | eg seems to have a higher pitch aligmment requirement and uses r700 cube setup this fixes a couple of piglit tests here.
* | r600g: deal with overflow of VTX/TEX CF clauses.Dave Airlie2010-09-211-2/+8
| | | | | | | | running piglit's texrect-many caused the vtx to overflow.
* | r600g: use pipe context for flushing inside mapJerome Glisse2010-09-207-12/+21
| | | | | | | | | | | | | | | | | | 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 <[email protected]>
* | r600g: Implemented the Z and W component write for the SCS opcode.Tilman Sauerbeck2010-09-201-0/+49
| | | | | | | | Signed-off-by: Tilman Sauerbeck <[email protected]>
* | r600g: Honour destination operand's writemask in the SCS implementation.Tilman Sauerbeck2010-09-201-26/+35
| | | | | | | | | | | | | | 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 <[email protected]>
* | softpipe: fix whitespaceLuca Barbieri2010-09-201-2/+2
| |
* | softpipe: make z/s test always pass if no zsbuf, instead of crashingLuca Barbieri2010-09-201-2/+6
| | | | | | | | D3D10 specifies this.
* | llvmpipe: fix query bug when no there's no sceneBrian Paul2010-09-201-2/+3
| |
* | r600g: move chip class to radeon common structureJerome Glisse2010-09-2010-75/+26
| | | | | | | | | | | | | | So texture code can be shared btw new state design & old one. Signed-off-by: Jerome Glisse <[email protected]>
* | svga: Integer constant register file has a separate namespace.Michal Krol2010-09-203-8/+9
| | | | | | | | | | | | 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.
* | svga: Fix relative addressing translation for pixel shaders.Michal Krol2010-09-201-14/+37
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* | r600g: Cleanup viewport floats.Corbin Simpson2010-09-191-10/+23
| |
* | r600g: Clean up PS setup.Corbin Simpson2010-09-192-16/+25
| | | | | | | | | | 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.
* | r600g: add missing BC_INST wrapper for evergreenDave Airlie2010-09-201-1/+1
| |
* | r600g: fixup r700 CB_SHADER_CONTROL register.Dave Airlie2010-09-202-34/+35
| | | | | | | | r600c emits this with a mask of each written output.
* | r600g: fix r700 cube map sizing.Dave Airlie2010-09-201-4/+9
| | | | | | | | this fixes fbo-cubemap on r700.
* | r600g: add color/texture support for more depth formats.Dave Airlie2010-09-203-2/+20
| |
* | r600g: add z16 to color setupDave Airlie2010-09-202-0/+13
| |
* | r600g: "tmp" is such a bad name for a texture.Corbin Simpson2010-09-191-10/+10
| |
* | r600g: Fix false and true.Corbin Simpson2010-09-198-17/+17
| |
* | r600g: Clean up some indentation and |= vs. | usage.Corbin Simpson2010-09-191-21/+22
| |
* | r600g: Deobfuscate and comment a few more functions in r600_hw_states.Corbin Simpson2010-09-192-11/+66
| |
* | r600g: Trivially deobfuscate r600_hw_states.Corbin Simpson2010-09-191-20/+40
| |
* | r600g: Use align() instead of handrolled code.Corbin Simpson2010-09-193-6/+3
| |
* | r600g: drop debugging that snuck inDave Airlie2010-09-201-1/+0
| |
* | r600g: clean up valgrind issues on maxtargets test.Dave Airlie2010-09-201-1/+7
| |