Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | i915g: Ifdef out debug code on non-debug builds | Jakob Bornecrantz | 2010-07-22 | 1 | -0/+5 |
| | |||||
* | tgsi: Fix error message on invalid swizzle parse | Jakob Bornecrantz | 2010-07-22 | 1 | -1/+1 |
| | |||||
* | draw: re-order optimization passes depending on LLVM version, 32/64-bit | Brian Paul | 2010-07-22 | 1 | -2/+15 |
| | | | | | This is a work-around for an apparent bug in LLVM seen with piglit's glsl-vs-sqrt-zero test. | ||||
* | draw: added new assertions to clipping code | Brian Paul | 2010-07-22 | 1 | -1/+10 |
| | |||||
* | softpipe: add missing support for PIPE_FORMAT_S8_USCALED surfaces | Brian Paul | 2010-07-21 | 1 | -20/+20 |
| | | | | | | And remove checks of surface depth bits. The state tracker should not turn on depth/stencil testing if the framebuffer doesn't have depth/stencil. | ||||
* | softpipe: fix sp_tile_cache_flush_clear() regression | Brian Paul | 2010-07-21 | 1 | -5/+11 |
| | |||||
* | r600g: add support for all R6XX/R7XX asic | Jerome Glisse | 2010-07-21 | 4 | -87/+316 |
| | | | | | | | This configure some of the value properly based on asic so others asic than RV710 works too. Signed-off-by: Jerome Glisse <[email protected]> | ||||
* | r600g: add r600 compile mode to compiler. | Dave Airlie | 2010-07-21 | 4 | -13/+106 |
| | | | | | | some of the ALU instructions are different on r6xx vs r7xx, separate the alu translation to separate files, and use family to pick which compile stage to use. | ||||
* | r600g: add family retrival | Dave Airlie | 2010-07-21 | 3 | -1/+14 |
| | | | | allow pipe driver to get the family of the gpu. | ||||
* | llvmpipe: say no to depth clamp | Marek Olšák | 2010-07-21 | 1 | -0/+2 |
| | | | | The other drivers just return 0 without the assert. | ||||
* | r300g: implement depth clamp | Marek Olšák | 2010-07-21 | 2 | -1/+3 |
| | | | | | | | Depth clamping seems to be implicit if clipping is disabled. It's not perfect, but it's good enough for wine and passes the corresponding piglit tests. | ||||
* | r300g: cleanup clip state emission | Marek Olšák | 2010-07-21 | 1 | -6/+10 |
| | |||||
* | draw: disable depth clipping if depth clamp is enabled | Marek Olšák | 2010-07-21 | 3 | -4/+11 |
| | |||||
* | cso: handle depth clamp | Marek Olšák | 2010-07-21 | 1 | -0/+4 |
| | |||||
* | gallium: add depth clamp to the interface | Marek Olšák | 2010-07-21 | 2 | -1/+3 |
| | |||||
* | draw: tweak aa line width threshold and sampling | Brian Paul | 2010-07-21 | 1 | -4/+6 |
| | | | | | | Set sampler max_lod to avoid sampling the 1x1 and 2x2 mipmap levels. Fixes piglit line-aa-width test, fd.o bug 29160. | ||||
* | nouveau/nvfx: Add new PIPE_CAP values | Patrice Mandin | 2010-07-21 | 1 | -0/+4 |
| | | | | Signed-off-by: Patrice Mandin <[email protected]> | ||||
* | gallivm: replace has_indirect_addressing field with indirect_files field | Brian Paul | 2010-07-21 | 1 | -8/+17 |
| | | | | | | | | | | Instead of one big boolean indicating indirect addressing, use a bitfield indicating which register files are accessed with indirect addressing. Most shaders that use indirect addressing only use it to access the constant buffer. So no need to use an array for temporary registers in this case. | ||||
* | tgsi: added tgsi_shader_info::indirect_files field | Brian Paul | 2010-07-21 | 2 | -0/+19 |
| | | | | Indicates which register files are accessed with indirect addressing. | ||||
* | gallivm: refactor code into get_indirect_offsets() function | Brian Paul | 2010-07-21 | 1 | -23/+34 |
| | |||||
* | gallivm: added comment | Brian Paul | 2010-07-21 | 1 | -0/+6 |
| | |||||
* | gallivm: remove extraneous braces | Brian Paul | 2010-07-21 | 1 | -20/+18 |
| | |||||
* | gallivm: no longer do indirect addressing in get_temp_ptr() | Brian Paul | 2010-07-21 | 1 | -20/+15 |
| | |||||
* | gallivm: implement correct indirect addressing of temp registers | Brian Paul | 2010-07-21 | 1 | -11/+29 |
| | | | | | As with indexing the const buffer, the ADDR reg may have totally different values for each element. Need to use a gather operation. | ||||
* | gallivm: re-org, comments for get_temp_ptr() | Brian Paul | 2010-07-21 | 1 | -3/+13 |
| | |||||
* | draw: whitespace clean-up | Brian Paul | 2010-07-21 | 1 | -33/+33 |
| | |||||
* | gallium: remove pointless bitfield restrction in pipe_vertex_element | Keith Whitwell | 2010-07-21 | 1 | -1/+1 |
| | | | | | This used to be a somewhat packed struct, but no longer. Remove the last remaining bitfield tag. | ||||
* | gallivm: rename a var to avoid compiler warnings | Brian Paul | 2010-07-21 | 1 | -2/+2 |
| | |||||
* | gallivm: fix indirect addressing of constant buffer | Brian Paul | 2010-07-20 | 1 | -25/+83 |
| | | | | | | | | | The previous code assumed that all elements of the address register were the same. But it can vary from pixel to pixel or vertex to vertex so we must use a gather operation when dynamically indexing the constant buffer. Still need to fix this for the temporary register file... | ||||
* | gallivm: added lp_build_const_int32() helper | Brian Paul | 2010-07-20 | 1 | -0/+8 |
| | |||||
* | r600g: split trans unit computation | Jerome Glisse | 2010-07-20 | 2 | -7/+23 |
| | | | | Signed-off-by: Jerome Glisse <[email protected]> | ||||
* | draw: correctly handle max_index=0xffffffff case in vcache code | Brian Paul | 2010-07-20 | 1 | -6/+14 |
| | | | | | | | | | | If max_index=0xffffffff and elt_bias > 0 the test for elt_bias + max_index >= DRAW_PIPE_MAX_VERTICES was wrong. Check earlier if max_index=0xffffffff and do the "fail" case. This fixes the piglit draw-elements-base-vertex test (and probably some other things). | ||||
* | graw/tests: pass -e option to test draw_elements_instanced() | Brian Paul | 2010-07-20 | 1 | -1/+45 |
| | |||||
* | softpipe: Support non-depth-stencil formats in sp_tile_cache_flush_clear(). | Michal Krol | 2010-07-20 | 1 | -2/+7 |
| | |||||
* | util: mempool: initialize last block's magic number in a page | Marek Olšák | 2010-07-20 | 1 | -0/+1 |
| | |||||
* | st/egl: Fixes for recent GLX cleanup. | Chia-I Wu | 2010-07-20 | 2 | -19/+45 |
| | | | | | Mainly, the type of __GLXdisplayPrivateRec::screenConfigs has changed from "__GLXscreenConfigs *" to "__GLXscreenConfigs **". | ||||
* | st/dri: Remove driFrameTrackingExtension. | Chia-I Wu | 2010-07-20 | 1 | -1/+0 |
| | | | | | The extension has been removed in 22266c391fbe17603b15a83d4ccf5fa9455ccf8d. | ||||
* | draw: fix incorrect instancing divisor in LLVM code | Brian Paul | 2010-07-19 | 1 | -3/+6 |
| | |||||
* | r300g: fix possible crash in destroy_context | Marek Olšák | 2010-07-19 | 1 | -2/+2 |
| | | | | | | | | | The problem is destroy_context is almost NEVER called. The only test for destroy_context I know is compiz. Reported by Vinson Lee. FDO bug #29150. | ||||
* | util: remove the dummy field in mempool | Marek Olšák | 2010-07-19 | 2 | -14/+4 |
| | | | | It should allocate less memory now. | ||||
* | util: add dummy field to empty structure types | Brian Paul | 2010-07-19 | 2 | -2/+2 |
| | | | | | Empty structure types aren't allowed with MSVC. I haven't tested this change. Hope I haven't broken it... | ||||
* | r300g: fix typo | Marek Olšák | 2010-07-19 | 1 | -1/+1 |
| | |||||
* | r300g: use memory pools for buffer_create and get_transfer | Marek Olšák | 2010-07-19 | 5 | -24/+101 |
| | | | | The improvement in Tremulous: 68.9 fps -> 71.1 fps. | ||||
* | util: add a memory pool for equally sized memory allocations | Marek Olšák | 2010-07-19 | 4 | -0/+267 |
| | | | | malloc/free are in O(1). | ||||
* | r300g: u_upload optimisation | Dave Airlie | 2010-07-18 | 4 | -7/+15 |
| | | | | fix vb/ib uploads | ||||
* | gallium/st/dri2: add dri2 vblank query extension support | Sven Arvidsson | 2010-07-18 | 1 | -0/+1 |
| | | | | | | | from bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=28771 Signed-off-by: Dave Airlie <[email protected]> | ||||
* | llvmpipe: Remove dead initialization. | Vinson Lee | 2010-07-18 | 1 | -1/+1 |
| | |||||
* | r300g: final fix for r3xx constant buffer emission | Marek Olšák | 2010-07-17 | 1 | -1/+1 |
| | |||||
* | r300g: fix typo in r3xx constant buffer emission | Marek Olšák | 2010-07-17 | 1 | -1/+1 |
| | | | | Ooops. | ||||
* | r300g: fix constant buffer emission on r3xx | Marek Olšák | 2010-07-17 | 1 | -1/+1 |
| | | | | FDO bug #29128. |