Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | draw: Fullfil the new min_lod/max_lod/lod_bias/border_color dynamic state | José Fonseca | 2010-09-25 | 3 | -0/+33 |
| | |||||
* | gallivm: optimize yuv decoding | Roland Scheidegger | 2010-09-25 | 1 | -9/+55 |
| | | | | | | | | | | | this is more a proof to show vector shifts on x86 with per-element shift count are evil. Since we can avoid the shift with a single compare/select, use that instead. Replaces more than 20 instructions (and slow ones at that) with about 3, and cuts compiled shader size with mesa's yuvsqure demo by over 10% (no performance measurements done - but selection is blazing fast). Might want to revisit that for future cpus - unfortunately AVX won't have vector shifts neither, but AMD's XOP will, but even in that case using selection here is probably not slower. | ||||
* | gallivm: don't use URem/UDiv when calculating offsets for blocks | Roland Scheidegger | 2010-09-25 | 1 | -1/+11 |
| | | | | | | | While it's true that llvm can and will indeed replace this with bit arithmetic (since block height/width is POT), it does so (llvm 2.7) by element and hence extracts/shifts/reinserts each element individually. This costs about 16 instructions (and extract is not really fast) vs. 1... | ||||
* | gallivm: fix copy&paste bug | Roland Scheidegger | 2010-09-25 | 1 | -1/+1 |
| | | | | | looks like pot_depth should be used, not pot_height (found by accident, not verified) | ||||
* | r600g: add eg poly mode code. | Dave Airlie | 2010-09-25 | 2 | -1/+23 |
| | |||||
* | r600g: Silence 'control reaches end of non-void function' warning. | Vinson Lee | 2010-09-24 | 1 | -0/+3 |
| | | | | | | Fixes this GCC warning. r600_hw_states.c: In function 'r600_translate_fill': r600_state_inlines.h:136: warning: control reaches end of non-void function | ||||
* | r600g: Remove unused variable. | Vinson Lee | 2010-09-24 | 1 | -1/+0 |
| | | | | | | Fixes this GCC warning. eg_hw_states.c: In function 'eg_resource': eg_hw_states.c:525: warning: unused variable 'r' | ||||
* | r600g: Disable unused variables. | Vinson Lee | 2010-09-24 | 1 | -1/+1 |
| | | | | | | | | | The variables are only used in currently disabled code. Fixes this GCC warning. r600_state2.c: In function 'r600_flush2': r600_state2.c:613: warning: unused variable 'dname' r600_state2.c:612: warning: unused variable 'dc' | ||||
* | r600g: Remove unused variable. | Vinson Lee | 2010-09-24 | 1 | -1/+0 |
| | | | | | | Fixes this GCC warning. r600_buffer.c: In function 'r600_buffer_transfer_map': r600_buffer.c:141: warning: unused variable 'rctx' | ||||
* | r600g: Remove unnecessary header. | Vinson Lee | 2010-09-24 | 1 | -1/+0 |
| | |||||
* | r300g: Silence uninitialized variable warning. | Vinson Lee | 2010-09-24 | 1 | -0/+1 |
| | | | | | | | Silence this GCC warning. r300_state_derived.c: In function 'r300_update_derived_state': r300_state_derived.c:578: warning: 'r' may be used uninitialized in this function r300_state_derived.c:578: note: 'r' was declared here | ||||
* | util: fix util_pack_color for B4G4R4A4 | Marek Olšák | 2010-09-25 | 1 | -1/+1 |
| | | | | NOTE: This is a candidate for the 7.9 branch. | ||||
* | r600g: bring over fix from old path to new path | Jerome Glisse | 2010-09-24 | 4 | -34/+212 |
| | | | | | | | | | | Up to 2010-09-19: r600g: fix tiling support for ddx supplied buffers 9b146eae2521d8e5f6d3cbefa4f6f7737666313a user buffer seems to be broken... new to fix that. Signed-off-by: Jerome Glisse <[email protected]> | ||||
* | r600g: fix evergreen new path | Jerome Glisse | 2010-09-24 | 3 | -11/+16 |
| | | | | | | glxgears seems to work, had somelockup but now they seems to have vanish. Signed-off-by: Jerome Glisse <[email protected]> | ||||
* | r600g: fix reg definition | Jerome Glisse | 2010-09-24 | 1 | -1/+3 |
| | | | | | | Doesn't bother fixing old path code, just disable that reg. Signed-off-by: Jerome Glisse <[email protected]> | ||||
* | r600g: fix evergreen new path | Jerome Glisse | 2010-09-24 | 4 | -178/+271 |
| | | | | Signed-off-by: Jerome Glisse <[email protected]> | ||||
* | r600g: fixup some evergreen register definitions | Jerome Glisse | 2010-09-24 | 2 | -56/+56 |
| | | | | Signed-off-by: Jerome Glisse <[email protected]> | ||||
* | llvmpipe: make texture border_color dynamic state | Brian Paul | 2010-09-24 | 7 | -27/+63 |
| | |||||
* | llvmpipe: make min/max lod and lod bias dynamic state | Brian Paul | 2010-09-24 | 10 | -24/+79 |
| | | | | | | Before, changing any of these sampler values triggered generation of new JIT code. Added a new flag for the special case of min_lod == max_lod which is hit during auto mipmap generation. | ||||
* | r600g: fix compilation after change to evergreend.h | Jerome Glisse | 2010-09-24 | 1 | -2/+2 |
| | | | | Signed-off-by: Jerome Glisse <[email protected]> | ||||
* | r600g: evergreen fix for new design | Jerome Glisse | 2010-09-24 | 6 | -81/+59 |
| | | | | Signed-off-by: Jerome Glisse <[email protected]> | ||||
* | r600g: move use_mem_constants flags for new designs structure alignment | Jerome Glisse | 2010-09-24 | 1 | -1/+1 |
| | | | | Signed-off-by: Jerome Glisse <[email protected]> | ||||
* | r600g: fix typo in evergreen define (resource are in [0x30000;0x34000] range) | Jerome Glisse | 2010-09-24 | 1 | -1/+1 |
| | | | | Signed-off-by: Jerome Glisse <[email protected]> | ||||
* | d3d1x: CRLF -> LF in progs | Luca Barbieri | 2010-09-24 | 26 | -5300/+5300 |
| | |||||
* | d3d1x: stop using GLX in demos, just use the default visual | Luca Barbieri | 2010-09-24 | 3 | -25/+7 |
| | |||||
* | d3d1x: assert if X visual is not among enumerated visuals | Luca Barbieri | 2010-09-24 | 1 | -0/+1 |
| | |||||
* | d3d1x: don't crash on drivers not supporting vertex or geometry sampling | Luca Barbieri | 2010-09-24 | 3 | -2/+13 |
| | |||||
* | nvfx: add RGB framebuffer format support in addition to BGR | Luca Barbieri | 2010-09-24 | 2 | -0/+8 |
| | |||||
* | nvfx: allow setting NULL constant buffers | Luca Barbieri | 2010-09-24 | 1 | -1/+1 |
| | |||||
* | r600g: break alu clause earlier | Andre Maasikas | 2010-09-24 | 1 | -2/+3 |
| | | | | we still have constants to add and next int may need also 6 slots | ||||
* | d3d1x: fix linking of dxbc2tgsi | Luca Barbieri | 2010-09-24 | 1 | -1/+1 |
| | |||||
* | d3d1x: draw to the correct buffer | Luca Barbieri | 2010-09-24 | 1 | -1/+1 |
| | |||||
* | d3d1x: fix CheckMultisampleQualityLevels | Luca Barbieri | 2010-09-24 | 1 | -1/+4 |
| | |||||
* | d3d1x: don't assert on unsupported resource types | Luca Barbieri | 2010-09-24 | 1 | -3/+11 |
| | |||||
* | d3d1x: add untested support for geometry shader translation | Luca Barbieri | 2010-09-24 | 5 | -31/+75 |
| | |||||
* | d3d1x: add shader dumping | Luca Barbieri | 2010-09-24 | 2 | -0/+11 |
| | |||||
* | r600g: fix polygon mode | Dave Airlie | 2010-09-24 | 2 | -1/+20 |
| | | | | this fixes glean'pointSprite test. | ||||
* | r600g: fixup sprite coord enable. | Dave Airlie | 2010-09-24 | 1 | -1/+2 |
| | | | | this fixes piglit glsl-fs-pointcoord | ||||
* | r600g: fix typo in r700 alu emit | Dave Airlie | 2010-09-24 | 1 | -1/+1 |
| | |||||
* | r600g: fixup VP->FP output->input routing. | Dave Airlie | 2010-09-24 | 4 | -2/+19 |
| | | | | | | We need to map the TGSI semantics to each other using the hw semantic ids. this fixes glsl-kwin-blur and glsl-routing. | ||||
* | r600g: fixup tex wrapping. | Dave Airlie | 2010-09-24 | 2 | -8/+8 |
| | | | | the clamp edge/clamp cases were reversed. | ||||
* | r600g: drop index_offset parameter to index buffer translate. | Dave Airlie | 2010-09-24 | 1 | -17/+13 |
| | | | | r600 doesn't need this as we always have working index bias | ||||
* | r600g: fix draw-elements and draw-elements-base-vertex | Dave Airlie | 2010-09-24 | 3 | -6/+8 |
| | |||||
* | r600g: some more vertex formats | Dave Airlie | 2010-09-24 | 2 | -4/+11 |
| | |||||
* | r600g: add some more vertex format support. | Dave Airlie | 2010-09-24 | 7 | -11/+92 |
| | | | | adds the sscaled formats, this passes some more of the draw-vertices tests. | ||||
* | r600g: add vert support for 16/16 and 16/16/16 floats. | Dave Airlie | 2010-09-24 | 1 | -0/+3 |
| | | | | makes draw-vertices-half-float pass | ||||
* | r300g: fix the border color for every format other than PIPE_FORMAT_B8G8R8A8 | Marek Olšák | 2010-09-24 | 3 | -6/+84 |
| | | | | | | | TX_BORDER_COLOR should be formatted according to the texture format. Also the interaction with ARB_texture_swizzle should be fixed too. NOTE: This is a candidate for the 7.9 branch. | ||||
* | r300g: fix a copy-paste typo for logging | Marek Olšák | 2010-09-24 | 1 | -3/+3 |
| | |||||
* | r300g: make accessing map_list and buffer_handles thread-safe | Marek Olšák | 2010-09-24 | 1 | -6/+58 |
| | | | | NOTE: This is a candidate for the 7.9 branch. | ||||
* | r300g: fixup long-lived BO maps being incorrectly unmapped when flushing | Marek Olšák | 2010-09-24 | 1 | -4/+10 |
| | | | | | | Based on commit 3ddc714b20ac4e28b80c6f88d1993445fff2262c by Dave Airlie. NOTE: This is a candidate for the 7.9 branch. |