summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-09-29r600g: Update SConscript.Vinson Lee
This is a follow-up to commit 9c284b5cae916a083d17d1039d2f2da128b47882. Fixes SCons build.
2010-09-29r300g: add support for formats beginning with X, like X8R8G8B8Marek Olšák
This is actually a format translator fix.
2010-09-29r300/compiler: Move declaration before code.Vinson Lee
Fixes these GCC warnings on linux-x86 build. radeon_pair_translate.c: In function ‘set_pair_instruction’: radeon_pair_translate.c:153: warning: ISO C90 forbids mixed declarations and code radeon_pair_translate.c:170: warning: ISO C90 forbids mixed declarations and code radeon_pair_translate.c: In function ‘rc_pair_translate’: radeon_pair_translate.c:336: warning: ISO C90 forbids mixed declarations and code radeon_pair_translate.c:341: warning: ISO C90 forbids mixed declarations and code
2010-09-29r300/compiler: Move declaration before code.Vinson Lee
Fixes these GCC warnings on linux-x86 build. radeon_program_alu.c: In function ‘r300_transform_trig_simple’: radeon_program_alu.c:882: warning: ISO C90 forbids mixed declarations and code radeon_program_alu.c:932: warning: ISO C90 forbids mixed declarations and code radeon_program_alu.c: In function ‘radeonTransformTrigScale’: radeon_program_alu.c:996: warning: ISO C90 forbids mixed declarations and code radeon_program_alu.c: In function ‘r300_transform_trig_scale_vertex’: radeon_program_alu.c:1033: warning: ISO C90 forbids mixed declarations and code
2010-09-29r600g: delete old pathJerome Glisse
Lot of clean can now happen. Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-09-29r300/compiler: Move declaration before code.Vinson Lee
Fixes this GCC warning on linux-x86 build. radeon_emulate_loops.c: In function ‘rc_emulate_loops’: radeon_emulate_loops.c:517: warning: ISO C90 forbids mixed declarations and code
2010-09-29r300/compiler: Move declaration before code.Vinson Lee
Fixes these GCC warnings with linux-x86 build. radeon_emulate_branches.c: In function ‘handle_if’: radeon_emulate_branches.c:65: warning: ISO C90 forbids mixed declarations and code radeon_emulate_branches.c:71: warning: ISO C90 forbids mixed declarations and code radeon_emulate_branches.c: In function ‘handle_else’: radeon_emulate_branches.c:94: warning: ISO C90 forbids mixed declarations and code radeon_emulate_branches.c: In function ‘handle_endif’: radeon_emulate_branches.c:201: warning: ISO C90 forbids mixed declarations and code radeon_emulate_branches.c: In function ‘fix_output_writes’: radeon_emulate_branches.c:267: warning: ISO C90 forbids mixed declarations and code radeon_emulate_branches.c:284: warning: ISO C90 forbids mixed declarations and code radeon_emulate_branches.c: In function ‘rc_emulate_branches’: radeon_emulate_branches.c:307: warning: ISO C90 forbids mixed declarations and code
2010-09-29mesa: Fix printf format warning.Vinson Lee
Fixes this GCC warning. math/m_debug_xform.c: In function '_math_test_all_transform_functions': math/m_debug_xform.c:320: warning: format not a string literal and no format arguments
2010-09-29mesa: Fix printf format warning.Vinson Lee
Fixes this GCC warning. math/m_debug_norm.c: In function '_math_test_all_normal_transform_functions': math/m_debug_norm.c:365: warning: format not a string literal and no format arguments
2010-09-29mesa: Fix printf format warning.Vinson Lee
Fixes this GCC warning. math/m_debug_clip.c: In function '_math_test_all_cliptest_functions': math/m_debug_clip.c:363: warning: format not a string literal and no format arguments
2010-09-29r600g: use a hash table instead of groupJerome Glisse
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 <jglisse@redhat.com
2010-09-29draw: pass sampler state down to llvm jit stateBrian Paul
Fixes a regression caused from the change to make min/max lod dynamic state. https://bugs.freedesktop.org/show_bug.cgi?id=30437
2010-09-29Makefile: ensure Gallium's Makefile.xorg and SConscript.dri are in the tarballMarek Olšák
Signed-off-by: Brian Paul <brianp@vmware.com>
2010-09-29scons: New build= option, with support for checked builds.José Fonseca
Where checked build is compiler optimizations plus debugging checks -- ideal for testing CPU bound loads and running test automation loads.
2010-09-29scons: New build= option, with support for checked builds.José Fonseca
Where checked build is compiler optimizations plus debugging checks -- ideal for testing CPU bound loads and running test automation loads.
2010-09-29llvmpipe: Decouple sampler view and sampler state updates.José Fonseca
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).
2010-09-29glx: Only remove drawables from the hash when we actually delete themKristian Høgsberg
https://bugs.freedesktop.org/show_bug.cgi?id=30457
2010-09-29Revert "r600g: add initial vertex translate support."Dave Airlie
This reverts commit 914b669b082258fc05d0fec047b69949d88585c4. I didn't mean to commit this yet, will redo in new state system once we clean it up.
2010-09-29Revert "i965: Always set tiling for depth buffer on sandybridge"Zhenyu Wang
This reverts commit 0a1910c26760762eb8d67f68dfd87494ab479e38. oops, shouldn't apply tiling depth buffer for other chips as well.
2010-09-28r300/compiler: Don't merge instructions that write output regs and ALU resultTom Stellard
https://bugs.freedesktop.org/show_bug.cgi?id=30415 NOTE: This is a candidate for the 7.9 branch.
2010-09-28r300/compiler: Don't use rc_error() unless the error is unrecoverableTom Stellard
https://bugs.freedesktop.org/show_bug.cgi?id=30416 NOTE: This is a candidate for the 7.9 branch.
2010-09-28r300/compiler: Fix segfault in error pathTom Stellard
https://bugs.freedesktop.org/show_bug.cgi?id=30415 NOTE: This is a candidate for the 7.9 branch.
2010-09-29i965: fallback lineloop on sandybridge for nowZhenyu Wang
Until we fixed GS hang issue.
2010-09-29i965: Always set tiling for depth buffer on sandybridgeZhenyu Wang
Sandybridge only support tiling depth buffer, always set tiling bit. Fix 'fbo_firecube' demo.
2010-09-29r600g: remove old assert from new codepathDave Airlie
this fixes draw-elements-base-vertex
2010-09-29r600g: add initial vertex translate support.Dave Airlie
2010-09-28glsl: "Copyright", not "Constantright"Kenneth Graunke
Clearly this started out as ir_copy_propagation.cpp, but the search and replace was a bit overzealous.
2010-09-28i965: Add support for builtin uniforms to the new FS backend.Eric Anholt
Fixes 8 piglit tests.
2010-09-28mesa: Move the list of builtin uniform info from ir_to_mesa to shared code.Eric Anholt
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.
2010-09-28i965: Clean up obsolete FINISHME comment.Eric Anholt
2010-09-28i965: Fix array indexing of arrays of matrices.Eric Anholt
The deleted code was meant to be handling indexing of a matrix, which would have been a noop if it had been correct.
2010-09-29r600g: move radeon.h members around to add back map flushing.Dave Airlie
2010-09-29r600g: add evergreen texture border support to new pathDave Airlie
2010-09-29r600g: add back evergreen name.Dave Airlie
2010-09-28i965: Don't try to emit interpolation for unused varying slots.Eric Anholt
Fixes: glsl-fs-varying-array glsl-texcoord-array glsl-texcoord-array-2 glsl-vs-varying-array
2010-09-28i965: Do interpolation for varying matrices and arrays in the FS backend.Eric Anholt
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
2010-09-28glsl: Also update implicit sizes of varyings at link time.Eric Anholt
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.
2010-09-28i965: Add support for ARB_fragment_coord_conventions to the new FS backend.Eric Anholt
Fixes: glsl-arb-frag-coord-conventions glsl-fs-fragcoord
2010-09-28i965: Add support for ir_loop counters to the new FS backend.Eric Anholt
Fixes: glsl1-discard statement in for loop glsl-fs-loop-two-counter-02 glsl-fs-loop-two-counter-04
2010-09-28r600g: Cleaned up index buffer reference handling in the draw module.Tilman Sauerbeck
This fixes a buffer leak. Signed-off-by: Tilman Sauerbeck <tilman@code-monkey.de>
2010-09-28i965: Add support for MRT to the new FS backend.Eric Anholt
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
2010-09-28i965: Add support for non-color render target write data to new FS backend.Eric Anholt
This is the first time these payload bits have made sense to me, outside of brw_wm_pass* structure. Fixes: glsl1-gl_FragDepth writing
2010-09-28scons: Add program/sampler.cpp to SCons build.Vinson Lee
This is a follow-up to commit a32893221ce253da7bb465e0ec9d0df5f7208d8f. Fixes MinGW SCons build.
2010-09-28i965: Set up sampler numbers in the FS backend.Eric Anholt
+10 piglits
2010-09-28mesa: Pull ir_to_mesa's sampler number fetcher out to shared code.Eric Anholt
2010-09-28r600g: avoid rebuilding the vertex shader if no change to input formatJerome Glisse
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-09-28r600g: suspend/resume occlusion query around clear/copyJerome Glisse
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-09-28configure.ac: do not build xorg-r300g by defaultMarek Olšák
NOTE: This is a candidate for the 7.9 branch.
2010-09-28configure.ac: look for libdrm_radeon before building gallium/r300,r600Marek Olšák
NOTE: This is a candidate for the 7.9 branch.
2010-09-28i965: Subtract instead of adding when computing y delta in new FS backend.Eric Anholt
Fixes 7 piglit cases.