summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* r600g: use a hash table instead of groupJerome Glisse2010-09-297-1495/+1442
| | | | | | | | Instead of creating group of register use a hash table to lookup into which block each register belongs. This simplify code a bit. Signed-off-by: Jerome Glisse <[email protected]
* draw: pass sampler state down to llvm jit stateBrian Paul2010-09-293-0/+26
| | | | | | | Fixes a regression caused from the change to make min/max lod dynamic state. https://bugs.freedesktop.org/show_bug.cgi?id=30437
* Makefile: ensure Gallium's Makefile.xorg and SConscript.dri are in the tarballMarek Olšák2010-09-291-0/+2
| | | | Signed-off-by: Brian Paul <[email protected]>
* scons: New build= option, with support for checked builds.José Fonseca2010-09-293-5/+4
| | | | | Where checked build is compiler optimizations plus debugging checks -- ideal for testing CPU bound loads and running test automation loads.
* scons: New build= option, with support for checked builds.José Fonseca2010-09-293-21/+46
| | | | | Where checked build is compiler optimizations plus debugging checks -- ideal for testing CPU bound loads and running test automation loads.
* llvmpipe: Decouple sampler view and sampler state updates.José Fonseca2010-09-293-13/+45
| | | | | | | | Fixes glean pbo crash. It would be possible to avoid crashing without decoupling, but given that state trackers give no guarantee that number of views is consistent, that would likely cause too many state updates (or miss some).
* glx: Only remove drawables from the hash when we actually delete themKristian Høgsberg2010-09-291-4/+6
| | | | https://bugs.freedesktop.org/show_bug.cgi?id=30457
* Revert "r600g: add initial vertex translate support."Dave Airlie2010-09-294-239/+3
| | | | | | | This reverts commit 914b669b082258fc05d0fec047b69949d88585c4. I didn't mean to commit this yet, will redo in new state system once we clean it up.
* Revert "i965: Always set tiling for depth buffer on sandybridge"Zhenyu Wang2010-09-291-1/+1
| | | | | | This reverts commit 0a1910c26760762eb8d67f68dfd87494ab479e38. oops, shouldn't apply tiling depth buffer for other chips as well.
* r300/compiler: Don't merge instructions that write output regs and ALU resultTom Stellard2010-09-281-0/+6
| | | | | | https://bugs.freedesktop.org/show_bug.cgi?id=30415 NOTE: This is a candidate for the 7.9 branch.
* r300/compiler: Don't use rc_error() unless the error is unrecoverableTom Stellard2010-09-281-3/+3
| | | | | | https://bugs.freedesktop.org/show_bug.cgi?id=30416 NOTE: This is a candidate for the 7.9 branch.
* r300/compiler: Fix segfault in error pathTom Stellard2010-09-281-1/+1
| | | | | | https://bugs.freedesktop.org/show_bug.cgi?id=30415 NOTE: This is a candidate for the 7.9 branch.
* i965: fallback lineloop on sandybridge for nowZhenyu Wang2010-09-291-0/+7
| | | | Until we fixed GS hang issue.
* i965: Always set tiling for depth buffer on sandybridgeZhenyu Wang2010-09-291-1/+1
| | | | | | Sandybridge only support tiling depth buffer, always set tiling bit. Fix 'fbo_firecube' demo.
* r600g: remove old assert from new codepathDave Airlie2010-09-291-2/+0
| | | | this fixes draw-elements-base-vertex
* r600g: add initial vertex translate support.Dave Airlie2010-09-294-3/+239
|
* glsl: "Copyright", not "Constantright"Kenneth Graunke2010-09-281-1/+1
| | | | | Clearly this started out as ir_copy_propagation.cpp, but the search and replace was a bit overzealous.
* i965: Add support for builtin uniforms to the new FS backend.Eric Anholt2010-09-281-1/+70
| | | | Fixes 8 piglit tests.
* mesa: Move the list of builtin uniform info from ir_to_mesa to shared code.Eric Anholt2010-09-283-243/+251
| | | | | | I'm still not pleased with how builtin uniforms are handled, but as long as we're relying on the prog_statevar stuff this seems about as good as it'll get.
* i965: Clean up obsolete FINISHME comment.Eric Anholt2010-09-281-1/+0
|
* i965: Fix array indexing of arrays of matrices.Eric Anholt2010-09-281-7/+3
| | | | | The deleted code was meant to be handling indexing of a matrix, which would have been a noop if it had been correct.
* r600g: move radeon.h members around to add back map flushing.Dave Airlie2010-09-293-4/+8
|
* r600g: add evergreen texture border support to new pathDave Airlie2010-09-291-1/+4
|
* r600g: add back evergreen name.Dave Airlie2010-09-291-1/+3
|
* i965: Don't try to emit interpolation for unused varying slots.Eric Anholt2010-09-281-0/+9
| | | | | | | | Fixes: glsl-fs-varying-array glsl-texcoord-array glsl-texcoord-array-2 glsl-vs-varying-array
* i965: Do interpolation for varying matrices and arrays in the FS backend.Eric Anholt2010-09-281-59/+57
| | | | | | | | | | Fixes: glsl-array-varying-01 glsl-vs-mat-add-1 glsl-vs-mat-div-1 glsl-vs-mat-div-2 glsl-vs-mat-mul-2 glsl-vs-mat-mul-3
* glsl: Also update implicit sizes of varyings at link time.Eric Anholt2010-09-281-4/+7
| | | | | | Otherwise, we'll often end up with gl_TexCoord being 0 length, for example. With ir_to_mesa, things ended up working out anyway, as long as multiple implicitly-sized arrays weren't involved.
* i965: Add support for ARB_fragment_coord_conventions to the new FS backend.Eric Anholt2010-09-281-15/+55
| | | | | | Fixes: glsl-arb-frag-coord-conventions glsl-fs-fragcoord
* i965: Add support for ir_loop counters to the new FS backend.Eric Anholt2010-09-281-5/+59
| | | | | | | Fixes: glsl1-discard statement in for loop glsl-fs-loop-two-counter-02 glsl-fs-loop-two-counter-04
* r600g: Cleaned up index buffer reference handling in the draw module.Tilman Sauerbeck2010-09-283-4/+14
| | | | | | This fixes a buffer leak. Signed-off-by: Tilman Sauerbeck <[email protected]>
* i965: Add support for MRT to the new FS backend.Eric Anholt2010-09-281-27/+48
| | | | | | | Fixes these tests using gl_FragData or just gl_FragDepth: glsl1-Preprocessor test (extension test 1) glsl1-Preprocessor test (extension test 2) glsl-bug-22603
* i965: Add support for non-color render target write data to new FS backend.Eric Anholt2010-09-281-4/+39
| | | | | | | This is the first time these payload bits have made sense to me, outside of brw_wm_pass* structure. Fixes: glsl1-gl_FragDepth writing
* scons: Add program/sampler.cpp to SCons build.Vinson Lee2010-09-281-0/+1
| | | | | | This is a follow-up to commit a32893221ce253da7bb465e0ec9d0df5f7208d8f. Fixes MinGW SCons build.
* i965: Set up sampler numbers in the FS backend.Eric Anholt2010-09-281-2/+10
| | | | +10 piglits
* mesa: Pull ir_to_mesa's sampler number fetcher out to shared code.Eric Anholt2010-09-284-87/+175
|
* r600g: avoid rebuilding the vertex shader if no change to input formatJerome Glisse2010-09-282-6/+12
| | | | Signed-off-by: Jerome Glisse <[email protected]>
* r600g: suspend/resume occlusion query around clear/copyJerome Glisse2010-09-283-5/+12
| | | | Signed-off-by: Jerome Glisse <[email protected]>
* configure.ac: do not build xorg-r300g by defaultMarek Olšák2010-09-281-2/+10
| | | | NOTE: This is a candidate for the 7.9 branch.
* configure.ac: look for libdrm_radeon before building gallium/r300,r600Marek Olšák2010-09-281-10/+18
| | | | NOTE: This is a candidate for the 7.9 branch.
* i965: Subtract instead of adding when computing y delta in new FS backend.Eric Anholt2010-09-281-1/+1
| | | | Fixes 7 piglit cases.
* i965: Add support for gl_FrontFacing to the new FS backend.Eric Anholt2010-09-281-3/+15
| | | | | | Fixes: glsl1-gl_FrontFacing var (1) glsl1-gl_FrontFacing var (2)
* i965: Fix up part of my Sandybridge attributes support patch.Eric Anholt2010-09-281-2/+4
| | | | | I confused the array sizing for number of files for the number of regs in a file.
* i965: Fix all non-snb regression in the snb attribute interpolation commit.Eric Anholt2010-09-281-1/+1
| | | | | This apparently had never been tested elsewhere before being merged to master.
* i965: Add support for struct, array, and matrix uniforms to FS backend.Eric Anholt2010-09-281-15/+60
| | | | Fixes 16 piglit cases.
* i965: Add support for dereferencing structs to the new FS backend.Eric Anholt2010-09-281-35/+32
| | | | Fixes: glsl1-struct(2)
* i965: Set the variable type when dereferencing an array.Eric Anholt2010-09-281-0/+15
| | | | | | | | | | We don't set the type on the array virtual reg as a whole, so here's the right place. Fixes: glsl1-GLSL 1.20 arrays glsl1-temp array with constant indexing, fragment shader glsl1-temp array with swizzled variable indexing
* i965: Fix up the FS backend for the variable array indexing pass.Eric Anholt2010-09-281-4/+12
| | | | | | We need to re-run channel expressions afterwards as it generates new vector expressions, and we need to successfully support conditional assignment (brw_CMP takes 2 operands, not 1).
* i965: Fix valgrind complaint about base_ir for new FS debugging.Eric Anholt2010-09-281-0/+1
|
* i965: Apply the same set of lowering passes to new FS as to Mesa IR.Eric Anholt2010-09-281-0/+15
| | | | | | | | While much of this we will want to support natively, this should make the task of reaching the Mesa IR backend's quality easier. Fixes: glsl-fs-main-return.
* i965: Actually track the "if" depth in loop in the new FS backend.Eric Anholt2010-09-281-0/+2
| | | | | Fixes: glsl-fs-if-nested-loop.