summaryrefslogtreecommitdiffstats
path: root/src/gallium
Commit message (Collapse)AuthorAgeFilesLines
* r300g: cleanup texture debug loggingMarek Olšák2010-07-253-18/+25
|
* r300g: do not align texture height to 2^n for 1D and 2D non-mipmapped texturesMarek Olšák2010-07-251-1/+5
| | | | | 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.
* nvfx: Move declaration before code.Vinson Lee2010-07-241-2/+3
|
* util: Add PIPE_OS_CYGWIN to u_network.Vinson Lee2010-07-231-1/+1
|
* r600g: first pass at texture supportJerome Glisse2010-07-236-14/+152
| | | | | | | This add texture support to the assembler, generated code is wrong (tested against working dump). Signed-off-by: Jerome Glisse <[email protected]>
* r600g: Fix SCons build.Vinson Lee2010-07-231-5/+2
|
* gallium: Fix build with llvm installed in non-standard locationChristopher James Halse Rogers2010-07-232-1/+5
| | | | | | | | | | The es1, es2 and gl state trackers include draw_pipe.h, which includes the llvm headers if MESA_LLVM is true, so we also need to add the llvm seachpaths. Similarly, gallivm and other gallium drivers need LLVM_CFLAGS to build when enabled. Also fix xorg drivers, they didn't include LDFLAGS.
* r600g: fix dp2, dp3, dp4 tokensJerome Glisse2010-07-231-23/+64
| | | | | | We need to make sure dp are all mirror accross the alu unit. Signed-off-by: Jerome Glisse <[email protected]>
* r600g: add RSQ token supportJerome Glisse2010-07-231-2/+28
| | | | | | | Could serve as an example on how to add more token support. Signed-off-by: Jerome Glisse <[email protected]>
* r600g: drop compiler stuff and switch over dumb tgsi assemblerJerome Glisse2010-07-2316-3323/+1277
| | | | | | | | | | 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 <[email protected]>
* draw: add small ybias factor for drawing wide pointsBrian Paul2010-07-231-0/+1
| | | | Fixes minor rasterization error detected by some tests.
* softpipe: Check for NULL pointer in sp_destroy_tile_cache().Michal Krol2010-07-231-8/+10
|
* softpipe: Check for NULL pointer in sp_destroy_tex_tile_cache().Michal Krol2010-07-231-11/+13
|
* nv50: implement depth clampChristoph Bumiller2010-07-234-10/+33
|
* xorg/vmwgfx: Implement early mode pruning based on max fb size.Thomas Hellstrom2010-07-233-4/+37
| | | | | | | | | Also move some initialization from screen init to pre-init, now that it is possible. Also import a new vmwgfx drm (1.3) header. Signed-off-by: Thomas Hellstrom <[email protected]>
* st/xorg: Init the Gallium3D / libkms resources in pre-init.Thomas Hellstrom2010-07-232-86/+75
| | | | | | | | This makes it possible to prune modes already in pre-init. We also keep these resources alive across server generations, and they are implicitly closed on server exit. Signed-off-by: Thomas Hellstrom <[email protected]>
* st/xorg: Kill a couple of compilation warningsThomas Hellstrom2010-07-232-2/+2
| | | | Signed-off-by: Thomas Hellstrom <[email protected]>
* st/xorg vmwgfx/xorg: Add a pre-init customizer callbackThomas Hellstrom2010-07-233-5/+19
| | | | | | | | Add a customizer callback just before initial config setting, so that the customizer code can initialize the mode validator using the drm file-descriptor. Signed-off-by: Thomas Hellstrom <[email protected]>
* st/xorg: Add a possibility to prune modes and limit fb allocation size based ↵Thomas Hellstrom2010-07-233-0/+23
| | | | | | on max fb size. Signed-off-by: Thomas Hellstrom <[email protected]>
* llvmpipe: Partially fix resource texture from_handleJakob Bornecrantz2010-07-221-1/+35
|
* llvmpipe: Don't align values already alignedJakob Bornecrantz2010-07-221-2/+2
|
* i915g: Rename winsys debug optionsJakob Bornecrantz2010-07-221-2/+2
|
* i915g: Allow wrapping with software pipesJakob Bornecrantz2010-07-222-3/+11
|
* i915g: Set total_nblocksy in from_handleJakob Bornecrantz2010-07-221-0/+1
|
* i915g: Add some debug prints in texture codeJakob Bornecrantz2010-07-221-6/+10
|
* i915g: Ifdef out debug code on non-debug buildsJakob Bornecrantz2010-07-221-0/+5
|
* tgsi: Fix error message on invalid swizzle parseJakob Bornecrantz2010-07-221-1/+1
|
* draw: re-order optimization passes depending on LLVM version, 32/64-bitBrian Paul2010-07-221-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 codeBrian Paul2010-07-221-1/+10
|
* softpipe: add missing support for PIPE_FORMAT_S8_USCALED surfacesBrian Paul2010-07-211-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() regressionBrian Paul2010-07-211-5/+11
|
* r600g: add support for all R6XX/R7XX asicJerome Glisse2010-07-214-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 Airlie2010-07-214-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 retrivalDave Airlie2010-07-213-1/+14
| | | | allow pipe driver to get the family of the gpu.
* llvmpipe: say no to depth clampMarek Olšák2010-07-211-0/+2
| | | | The other drivers just return 0 without the assert.
* r300g: implement depth clampMarek Olšák2010-07-212-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 emissionMarek Olšák2010-07-211-6/+10
|
* draw: disable depth clipping if depth clamp is enabledMarek Olšák2010-07-213-4/+11
|
* cso: handle depth clampMarek Olšák2010-07-211-0/+4
|
* gallium: add depth clamp to the interfaceMarek Olšák2010-07-212-1/+3
|
* draw: tweak aa line width threshold and samplingBrian Paul2010-07-211-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 valuesPatrice Mandin2010-07-211-0/+4
| | | | Signed-off-by: Patrice Mandin <[email protected]>
* gallivm: replace has_indirect_addressing field with indirect_files fieldBrian Paul2010-07-211-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 fieldBrian Paul2010-07-212-0/+19
| | | | Indicates which register files are accessed with indirect addressing.
* gallivm: refactor code into get_indirect_offsets() functionBrian Paul2010-07-211-23/+34
|
* gallivm: added commentBrian Paul2010-07-211-0/+6
|
* gallivm: remove extraneous bracesBrian Paul2010-07-211-20/+18
|
* gallivm: no longer do indirect addressing in get_temp_ptr()Brian Paul2010-07-211-20/+15
|
* gallivm: implement correct indirect addressing of temp registersBrian Paul2010-07-211-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 Paul2010-07-211-3/+13
|