Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | llvmpipe: Special case complementary and identify blend factors in SoA. | José Fonseca | 2010-09-22 | 4 | -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 hack | Luca Barbieri | 2010-09-22 | 1 | -7/+6 |
| | | | | Now Gallium has the proper fix, thanks to Brian Paul. | ||||
* | r600g: disable dirty handling on texture from depth code. | Dave Airlie | 2010-09-22 | 1 | -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 work | Dave Airlie | 2010-09-22 | 1 | -2/+1 |
| | | | | need to write two components to get stencil components as well | ||||
* | r600g: cleanup some of the DB blit code | Dave Airlie | 2010-09-22 | 2 | -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 name | Dave Airlie | 2010-09-22 | 5 | -7/+7 |
| | |||||
* | r600g: occlusion query for new design | Jerome Glisse | 2010-09-21 | 2 | -1/+84 |
| | | | | Signed-off-by: Jerome Glisse <[email protected]> | ||||
* | softpipe: add missing calls to set draw vertex samplers/views | Brian Paul | 2010-09-21 | 1 | -0/+8 |
| | | | | Part of the fix for running softpipe w/ LLVM-enabled draw module. | ||||
* | r600g: fix multi buffer rendering | Jerome Glisse | 2010-09-21 | 1 | -2/+2 |
| | | | | Signed-off-by: Jerome Glisse <[email protected]> | ||||
* | r600g: directly allocate bo for user buffer | Jerome Glisse | 2010-09-21 | 2 | -3/+39 |
| | | | | Signed-off-by: Jerome Glisse <[email protected]> | ||||
* | llvmpipe: When failing free fs shader too. | José Fonseca | 2010-09-21 | 1 | -0/+1 |
| | |||||
* | llvmpipe: Describe how to profile llvmpipe. | José Fonseca | 2010-09-21 | 1 | -0/+38 |
| | |||||
* | Merge branch 'sprite-coord' | Brian Paul | 2010-09-21 | 9 | -39/+88 |
|\ | |||||
| * | llvmpipe: check bitshift against PIPE_MAX_SHADER_OUTPUTS | Brian Paul | 2010-09-20 | 1 | -2/+5 |
| | | |||||
| * | llvmpipe: implement sprite coord origin modes | Brian Paul | 2010-09-20 | 1 | -6/+12 |
| | | |||||
| * | llvmpipe: rename sprite field, add sprite_coord_origin | Brian Paul | 2010-09-20 | 5 | -6/+10 |
| | | |||||
| * | llvmpipe: clean-up, comments in setup_point_coefficient() | Brian Paul | 2010-09-20 | 1 | -5/+10 |
| | | |||||
| * | llvmpipe: reformatting, remove trailing whitespace, etc | Brian Paul | 2010-09-20 | 1 | -21/+23 |
| | | |||||
| * | llvmpipe: indentation fix | Brian Paul | 2010-09-20 | 1 | -1/+1 |
| | | |||||
| * | llvmpipe: maintain fragment shader state for draw module | Brian Paul | 2010-09-20 | 2 | -0/+14 |
| | | |||||
| * | gallium: rework handling of sprite_coord_enable state | Brian Paul | 2010-09-17 | 2 | -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 code | Keith Whitwell | 2010-09-21 | 1 | -6/+13 |
| | | | | | | | | Calculate interpolants before rearranging the vertices. | ||||
* | | r600g: Removed debug code. | Tilman Sauerbeck | 2010-09-21 | 1 | -1/+0 |
| | | | | | | | | Signed-off-by: Tilman Sauerbeck <[email protected]> | ||||
* | | r600g: fix eg texture borders. | Dave Airlie | 2010-09-21 | 2 | -15/+19 |
| | | | | | | | | texture border regs are indexed on evergreen. | ||||
* | | r600g: fixup evergreen miptree setup. | Dave Airlie | 2010-09-21 | 1 | -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 Airlie | 2010-09-21 | 1 | -2/+8 |
| | | | | | | | | running piglit's texrect-many caused the vtx to overflow. | ||||
* | | r600g: use pipe context for flushing inside map | Jerome Glisse | 2010-09-20 | 7 | -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 Sauerbeck | 2010-09-20 | 1 | -0/+49 |
| | | | | | | | | Signed-off-by: Tilman Sauerbeck <[email protected]> | ||||
* | | r600g: Honour destination operand's writemask in the SCS implementation. | Tilman Sauerbeck | 2010-09-20 | 1 | -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 whitespace | Luca Barbieri | 2010-09-20 | 1 | -2/+2 |
| | | |||||
* | | softpipe: make z/s test always pass if no zsbuf, instead of crashing | Luca Barbieri | 2010-09-20 | 1 | -2/+6 |
| | | | | | | | | D3D10 specifies this. | ||||
* | | llvmpipe: fix query bug when no there's no scene | Brian Paul | 2010-09-20 | 1 | -2/+3 |
| | | |||||
* | | r600g: move chip class to radeon common structure | Jerome Glisse | 2010-09-20 | 10 | -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 Krol | 2010-09-20 | 3 | -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 Krol | 2010-09-20 | 1 | -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 Simpson | 2010-09-19 | 1 | -10/+23 |
| | | |||||
* | | r600g: Clean up PS setup. | Corbin Simpson | 2010-09-19 | 2 | -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 evergreen | Dave Airlie | 2010-09-20 | 1 | -1/+1 |
| | | |||||
* | | r600g: fixup r700 CB_SHADER_CONTROL register. | Dave Airlie | 2010-09-20 | 2 | -34/+35 |
| | | | | | | | | r600c emits this with a mask of each written output. | ||||
* | | r600g: fix r700 cube map sizing. | Dave Airlie | 2010-09-20 | 1 | -4/+9 |
| | | | | | | | | this fixes fbo-cubemap on r700. | ||||
* | | r600g: add color/texture support for more depth formats. | Dave Airlie | 2010-09-20 | 3 | -2/+20 |
| | | |||||
* | | r600g: add z16 to color setup | Dave Airlie | 2010-09-20 | 2 | -0/+13 |
| | | |||||
* | | r600g: "tmp" is such a bad name for a texture. | Corbin Simpson | 2010-09-19 | 1 | -10/+10 |
| | | |||||
* | | r600g: Fix false and true. | Corbin Simpson | 2010-09-19 | 8 | -17/+17 |
| | | |||||
* | | r600g: Clean up some indentation and |= vs. | usage. | Corbin Simpson | 2010-09-19 | 1 | -21/+22 |
| | | |||||
* | | r600g: Deobfuscate and comment a few more functions in r600_hw_states. | Corbin Simpson | 2010-09-19 | 2 | -11/+66 |
| | | |||||
* | | r600g: Trivially deobfuscate r600_hw_states. | Corbin Simpson | 2010-09-19 | 1 | -20/+40 |
| | | |||||
* | | r600g: Use align() instead of handrolled code. | Corbin Simpson | 2010-09-19 | 3 | -6/+3 |
| | | |||||
* | | r600g: drop debugging that snuck in | Dave Airlie | 2010-09-20 | 1 | -1/+0 |
| | | |||||
* | | r600g: clean up valgrind issues on maxtargets test. | Dave Airlie | 2010-09-20 | 1 | -1/+7 |
| | |