summaryrefslogtreecommitdiff
path: root/src/gallium/drivers
AgeCommit message (Collapse)Author
2010-07-25r300g: cleanup texture creation codeMarek Olšák
This decouples initializing a texture layout/miptree description from an actual texture creation, it also partially unifies texture_create and texture_from_handle. r300_texture inherits r300_texture_desc, which inherits u_resource. The CBZB clear criteria are moved to r300_texture_desc::cbzb_allowed[level]. And other minor cleanups.
2010-07-25r300g: reject resources from handles which are not large enoughMarek Olšák
The driver gets a buffer and its size in resource_from_handle. It computes the required minimum buffer size from given texture properties, and compares the two sizes. This is to early detect DDX bugs.
2010-07-25r300g: cleanup texture debug loggingMarek Olšák
2010-07-25r300g: do not align texture height to 2^n for 1D and 2D non-mipmapped texturesMarek Olšák
I don't remember why the alignment was there, but it seems to be no longer needed. I guess it was a dirty fix for some other bug.
2010-07-24nvfx: Move declaration before code.Vinson Lee
2010-07-23r600g: first pass at texture supportJerome Glisse
This add texture support to the assembler, generated code is wrong (tested against working dump). Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-07-23r600g: Fix SCons build.Vinson Lee
2010-07-23r600g: fix dp2, dp3, dp4 tokensJerome Glisse
We need to make sure dp are all mirror accross the alu unit. Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-07-23r600g: add RSQ token supportJerome Glisse
Could serve as an example on how to add more token support. Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-07-23r600g: drop compiler stuff and switch over dumb tgsi assemblerJerome Glisse
Writing a compiler is time consuming and error prone in order to allow r600g to further progress in the meantime i wrote a simple tgsi assembler, it does stupid thing but i would rather keep the code simple than having people trying to optimize code it does. Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-07-23softpipe: Check for NULL pointer in sp_destroy_tile_cache().Michal Krol
2010-07-23softpipe: Check for NULL pointer in sp_destroy_tex_tile_cache().Michal Krol
2010-07-23nv50: implement depth clampChristoph Bumiller
2010-07-22llvmpipe: Partially fix resource texture from_handleJakob Bornecrantz
2010-07-22llvmpipe: Don't align values already alignedJakob Bornecrantz
2010-07-22i915g: Set total_nblocksy in from_handleJakob Bornecrantz
2010-07-22i915g: Add some debug prints in texture codeJakob Bornecrantz
2010-07-22i915g: Ifdef out debug code on non-debug buildsJakob Bornecrantz
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-21nouveau/nvfx: Add new PIPE_CAP valuesPatrice Mandin
Signed-off-by: Patrice Mandin <patmandin@gmail.com>
2010-07-20r600g: split trans unit computationJerome Glisse
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-07-20softpipe: Support non-depth-stencil formats in sp_tile_cache_flush_clear().Michal Krol
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-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-18r300g: u_upload optimisationDave Airlie
fix vb/ib uploads
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
2010-07-16nv50: s/__func__/__FUNCTION__/Vinson Lee
2010-07-16nouveau: s/__func__/__FUNCTION__/Vinson Lee
2010-07-16nouveau: s/snprintf/util_snprintf/Vinson Lee
2010-07-16r300g: Remove unnecessary header.Vinson Lee
2010-07-16nouveau: s/inline/INLINE/Vinson Lee
2010-07-16r300g: inline winsys_buffer_destroyMarek Olšák
2010-07-16r300g: do not make copies of constant buffers, emit them directlyMarek Olšák
2010-07-16llvmpipe: use single swizzled tileKeith Whitwell
Use a single swizzled tile per colorbuf (and per thread) to avoid accumulating large amounts of cached swizzled data. Now that the SSE3 code has been merged to master, the performance delta of this change is minimal, the main benefit is reduced memory usage due to no longer keeping swizzled copies of render targets. It's clear from the performance of the in-place version of this code that there is still quite a bit of time being spent swizzling & unswizzling, but it's not clear exactly how to reduce that.
2010-07-16llvmpipe: Describe _mm_shuffle_epi8() with gcc extended inline assembly when ↵José Fonseca
-mssse3 is not supported/enabled.
2010-07-16llvmpipe: Only use -mssse3 on gcc 4.3+José Fonseca
2010-07-16i965g: Remove dead initialization in precalc_tex.Vinson Lee
2010-07-16r300g: rebuild winsys and command submission to support multiple contextsMarek Olšák