summaryrefslogtreecommitdiff
path: root/src/gallium
AgeCommit message (Collapse)Author
2010-07-22tgsi: Fix error message on invalid swizzle parseJakob Bornecrantz
2010-07-22draw: re-order optimization passes depending on LLVM version, 32/64-bitBrian Paul
This is a work-around for an apparent bug in LLVM seen with piglit's glsl-vs-sqrt-zero test.
2010-07-22draw: added new assertions to clipping codeBrian Paul
2010-07-21softpipe: add missing support for PIPE_FORMAT_S8_USCALED surfacesBrian Paul
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.
2010-07-21softpipe: fix sp_tile_cache_flush_clear() regressionBrian Paul
2010-07-21r600g: add support for all R6XX/R7XX asicJerome Glisse
This configure some of the value properly based on asic so others asic than RV710 works too. Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-07-21r600g: add r600 compile mode to compiler.Dave Airlie
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.
2010-07-21r600g: add family retrivalDave Airlie
allow pipe driver to get the family of the gpu.
2010-07-21llvmpipe: say no to depth clampMarek Olšák
The other drivers just return 0 without the assert.
2010-07-21r300g: implement depth clampMarek Olšák
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.
2010-07-21r300g: cleanup clip state emissionMarek Olšák
2010-07-21draw: disable depth clipping if depth clamp is enabledMarek Olšák
2010-07-21cso: handle depth clampMarek Olšák
2010-07-21gallium: add depth clamp to the interfaceMarek Olšák
2010-07-21draw: tweak aa line width threshold and samplingBrian Paul
Set sampler max_lod to avoid sampling the 1x1 and 2x2 mipmap levels. Fixes piglit line-aa-width test, fd.o bug 29160.
2010-07-21nouveau/nvfx: Add new PIPE_CAP valuesPatrice Mandin
Signed-off-by: Patrice Mandin <patmandin@gmail.com>
2010-07-21gallivm: replace has_indirect_addressing field with indirect_files fieldBrian Paul
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.
2010-07-21tgsi: added tgsi_shader_info::indirect_files fieldBrian Paul
Indicates which register files are accessed with indirect addressing.
2010-07-21gallivm: refactor code into get_indirect_offsets() functionBrian Paul
2010-07-21gallivm: added commentBrian Paul
2010-07-21gallivm: remove extraneous bracesBrian Paul
2010-07-21gallivm: no longer do indirect addressing in get_temp_ptr()Brian Paul
2010-07-21gallivm: implement correct indirect addressing of temp registersBrian Paul
As with indexing the const buffer, the ADDR reg may have totally different values for each element. Need to use a gather operation.
2010-07-21gallivm: re-org, comments for get_temp_ptr()Brian Paul
2010-07-21draw: whitespace clean-upBrian Paul
2010-07-21gallium: remove pointless bitfield restrction in pipe_vertex_elementKeith Whitwell
This used to be a somewhat packed struct, but no longer. Remove the last remaining bitfield tag.
2010-07-21gallivm: rename a var to avoid compiler warningsBrian Paul
2010-07-20gallivm: fix indirect addressing of constant bufferBrian Paul
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...
2010-07-20gallivm: added lp_build_const_int32() helperBrian Paul
2010-07-20r600g: split trans unit computationJerome Glisse
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-07-20draw: correctly handle max_index=0xffffffff case in vcache codeBrian Paul
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).
2010-07-20graw/tests: pass -e option to test draw_elements_instanced()Brian Paul
2010-07-20softpipe: Support non-depth-stencil formats in sp_tile_cache_flush_clear().Michal Krol
2010-07-20util: mempool: initialize last block's magic number in a pageMarek Olšák
2010-07-20st/egl: Fixes for recent GLX cleanup.Chia-I Wu
Mainly, the type of __GLXdisplayPrivateRec::screenConfigs has changed from "__GLXscreenConfigs *" to "__GLXscreenConfigs **".
2010-07-20st/dri: Remove driFrameTrackingExtension.Chia-I Wu
The extension has been removed in 22266c391fbe17603b15a83d4ccf5fa9455ccf8d.
2010-07-19draw: fix incorrect instancing divisor in LLVM codeBrian Paul
2010-07-19r300g: fix possible crash in destroy_contextMarek Olšák
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.
2010-07-19util: remove the dummy field in mempoolMarek Olšák
It should allocate less memory now.
2010-07-19util: add dummy field to empty structure typesBrian Paul
Empty structure types aren't allowed with MSVC. I haven't tested this change. Hope I haven't broken it...
2010-07-19r300g: fix typoMarek Olšák
2010-07-19r300g: use memory pools for buffer_create and get_transferMarek Olšák
The improvement in Tremulous: 68.9 fps -> 71.1 fps.
2010-07-19util: add a memory pool for equally sized memory allocationsMarek Olšák
malloc/free are in O(1).
2010-07-18r300g: u_upload optimisationDave Airlie
fix vb/ib uploads
2010-07-18gallium/st/dri2: add dri2 vblank query extension supportSven Arvidsson
from bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=28771 Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-07-18llvmpipe: Remove dead initialization.Vinson Lee
2010-07-17r300g: final fix for r3xx constant buffer emissionMarek Olšák
2010-07-17r300g: fix typo in r3xx constant buffer emissionMarek Olšák
Ooops.
2010-07-17r300g: fix constant buffer emission on r3xxMarek Olšák
FDO bug #29128.
2010-07-17llvmpipe: Remove unused variable in lp_test_sincos.Vinson Lee