Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | tgsi: add switch/case opcodes to tgsi_opcode_tmp.h | Luca Barbieri | 2010-09-20 | 1 | -0/+4 |
| | |||||
* | softpipe: make z/s test always pass if no zsbuf, instead of crashing | Luca Barbieri | 2010-09-20 | 1 | -2/+6 |
| | | | | D3D10 specifies this. | ||||
* | gallium: avoid the C++ keyword "template" in sw_winsys.h | Luca Barbieri | 2010-09-20 | 1 | -1/+1 |
| | |||||
* | gallivm: remove debug code | Brian Paul | 2010-09-20 | 1 | -2/+0 |
| | |||||
* | llvmpipe: fix query bug when no there's no scene | Brian Paul | 2010-09-20 | 1 | -2/+3 |
| | |||||
* | st/mesa: fix assertion failure in GetTexImage for cubemaps | Marek Olšák | 2010-09-20 | 1 | -0/+6 |
| | | | | | | Can be reproduced with mesa/demos/src/tests/blitfb. NOTE: This is a candidate for the 7.9 branch. | ||||
* | r600g: move chip class to radeon common structure | Jerome Glisse | 2010-09-20 | 14 | -75/+100 |
| | | | | | | | So texture code can be shared btw new state design & old one. Signed-off-by: Jerome Glisse <[email protected]> | ||||
* | glsl: Fix broken handling of ir_binop_equal and ir_binop_nequal. | Kenneth Graunke | 2010-09-20 | 1 | -25/+30 |
| | | | | | | | | When ir_binop_all_equal and ir_binop_any_nequal were introduced, the meaning of these two opcodes changed to return vectors rather than a single scalar, but the constant expression handling code was incorrectly written and only worked for scalars. As a result, only the first component of the returned vector would be properly initialized. | ||||
* | glsl: Add comments to clarify the types of comparison binops. | Kenneth Graunke | 2010-09-20 | 1 | -1/+2 |
| | |||||
* | docs: mark as obsolete, remove dead links | Brian Paul | 2010-09-20 | 1 | -4/+6 |
| | |||||
* | docs: remove old broken link | Brian Paul | 2010-09-20 | 1 | -1/+0 |
| | |||||
* | glsl2: silence compiler warnings in printf() calls | Brian Paul | 2010-09-20 | 1 | -2/+4 |
| | | | | | Such as: "ir_validate.cpp:143: warning: format ‘%p’ expects type ‘void*’, but argument 2 has type ‘ir_variable*’" | ||||
* | mesa: don't call valid_texture_object() in non-debug builds | Brian Paul | 2010-09-20 | 1 | -5/+2 |
| | | | | | | | | | This reverts commit c32bac57ed445e48856d74113364287ed6e5cdd4 and silences the warning differently. The _mesa_reference_texobj() function is called quite a bit and we don't want to call valid_texture_object() all the time in non- debug builds. | ||||
* | glsl: Add doxygen comments | Ian Romanick | 2010-09-20 | 2 | -12/+121 |
| | |||||
* | i915g: Link with wrapper sw winsys with scons | Jakob Bornecrantz | 2010-09-20 | 1 | -0/+1 |
| | |||||
* | 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: only flush for the correct colorbuffer, not all of them. | Dave Airlie | 2010-09-20 | 1 | -2/+4 |
| | |||||
* | 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 | 3 | -35/+36 |
| | | | | 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: fix tiling support for ddx supplied buffers | Dave Airlie | 2010-09-20 | 1 | -9/+9 |
| | | | | needed to emit some more relocs to the kernel. | ||||
* | 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 |
| | |||||
* | r600g: fix fbo-drawbuffers-maxtargets | Dave Airlie | 2010-09-20 | 2 | -8/+26 |
| | | | | | | | 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. | ||||
* | r600g: send correct surface base update for multi-cbufs | Dave Airlie | 2010-09-20 | 1 | -2/+4 |
| | |||||
* | r600g: modify index buffers for sizes the hw can't deal with. | Dave Airlie | 2010-09-20 | 1 | -2/+37 |
| | | | | this just uses the common code from r300g now in util to do translations on r600g. | ||||
* | util/r300g: split the r300 index buffer modifier functions out to util | Dave Airlie | 2010-09-20 | 5 | -108/+174 |
| | | | | | | These can be used by other drivers, like r600g. Signed-off-by: Dave Airlie <[email protected]> | ||||
* | r600g: fix exports_ps to export a number not a mask. | Henri Verbeet | 2010-09-20 | 2 | -2/+2 |
| | |||||
* | scons: Link against talloc in the Gallium DRI drivers | Jakob Bornecrantz | 2010-09-20 | 1 | -0/+1 |
| | |||||
* | rbug: Add function to get opcode name string | Jakob Bornecrantz | 2010-09-20 | 2 | -0/+69 |
| | |||||
* | rbug: Cast opcode to corrent int size | Jakob Bornecrantz | 2010-09-20 | 4 | -28/+28 |
| | |||||
* | Revert "r600g: Flush upload buffers before draws instead of before flushes." | Henri Verbeet | 2010-09-19 | 2 | -5/+4 |
| | | | | | | | 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. | ||||
* | r600g: Respect PB_USAGE_UNSYNCHRONIZED in radeon_bo_pb_map_internal(). | Henri Verbeet | 2010-09-19 | 1 | -0/+8 |
| | |||||
* | gallium/docs: Fixed a typo in the SCS opcode description. | Tilman Sauerbeck | 2010-09-19 | 1 | -1/+1 |
| | | | | Signed-off-by: Tilman Sauerbeck <[email protected]> | ||||
* | auxiliary: fix depth-only and stencil-only clears | Luca Barbieri | 2010-09-19 | 1 | -1/+1 |
| | | | | | | | Depth-only and stencil-only clears should mask out depth/stencil from the output, mask out stencil/input from input, and OR or ADD them together. However, due to a typo they were being ANDed, resulting in zeroing the buffer. | ||||
* | r600g: Buffer object maps imply a wait. | Henri Verbeet | 2010-09-19 | 6 | -42/+13 |
| | | | | Unless e.g. PB_USAGE_DONTBLOCK or PB_USAGE_UNSYNCHRONIZED would be specified. | ||||
* | r600g: Remove a redundant flush in r600_texture_transfer_map(). | Henri Verbeet | 2010-09-19 | 1 | -1/+0 |
| | | | | radeon_ws_bo_map() will already take care of that if needed. |