summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* r600g: return string for chip familyDave Airlie2010-09-301-6/+25
| | | | use same strings as r600c.
* r600g: clean up some code from move to new paths.Dave Airlie2010-09-309-51/+44
| | | | mainly remove 2 suffix from function names
* r600g: add L8A8 unorm.Dave Airlie2010-09-301-0/+6
| | | | fixes texEnv warnings.
* r600g: port r300g fix for X* formats in texformat codeDave Airlie2010-09-301-4/+14
|
* i956: Make new FS discard do its work in a temp, not the null reg!Eric Anholt2010-09-291-6/+10
| | | | | | Fixes: glsl-fs-discard-02 (GPU hang) glsl1-discard statement (2)
* i965: Fix use of undefined mem_ctx in vector splitting.Eric Anholt2010-09-291-1/+1
|
* gallivm: Use SSE4.1's ROUNDSS/ROUNDSD for scalar rounding.José Fonseca2010-09-291-21/+71
|
* python/retrace: Handle set_index_buffer and draw_vbo.José Fonseca2010-09-291-20/+13
|
* trace: Fix set_index_buffer and draw_vbo tracing.José Fonseca2010-09-293-19/+42
|
* r300/compiler: Move declaration before code.Vinson Lee2010-09-291-1/+1
| | | | | | Fixes this GCC warning on linux-x86 build. r3xx_vertprog.c: In function ‘ei_if’: r3xx_vertprog.c:396: warning: ISO C90 forbids mixed declarations and code
* r300/compiler: Move declaration before code.Vinson Lee2010-09-291-4/+10
| | | | | | | | | | | | Fixes these GCC warnings on linux-x86 build. r500_fragprog_emit.c: In function ‘emit_paired’: r500_fragprog_emit.c:237: warning: ISO C90 forbids mixed declarations and code r500_fragprog_emit.c: In function ‘emit_tex’: r500_fragprog_emit.c:367: warning: ISO C90 forbids mixed declarations and code r500_fragprog_emit.c: In function ‘emit_flowcontrol’: r500_fragprog_emit.c:415: warning: ISO C90 forbids mixed declarations and code r500_fragprog_emit.c: In function ‘r500BuildFragmentProgramHwCode’: r500_fragprog_emit.c:633: warning: ISO C90 forbids mixed declarations and code
* r300/compiler: Move declaration before code.Vinson Lee2010-09-291-3/+4
| | | | | | | | Fixes these GCC warnings on linux-x86 build. r500_fragprog.c: In function ‘r500_transform_IF’: r500_fragprog.c:45: warning: ISO C90 forbids mixed declarations and code r500_fragprog.c: In function ‘r500FragmentProgramDump’: r500_fragprog.c:256: warning: ISO C90 forbids mixed declarations and code
* r300/compiler: Move declaration before code.Vinson Lee2010-09-291-10/+18
| | | | | | | | | | | Fixes these GCC warnings on linux-x86 build. r300_fragprog_emit.c: In function ‘emit_alu’: r300_fragprog_emit.c:143: warning: ISO C90 forbids mixed declarations and code r300_fragprog_emit.c:156: warning: ISO C90 forbids mixed declarations and code r300_fragprog_emit.c: In function ‘finish_node’: r300_fragprog_emit.c:271: warning: ISO C90 forbids mixed declarations and code r300_fragprog_emit.c: In function ‘emit_tex’: r300_fragprog_emit.c:344: warning: ISO C90 forbids mixed declarations and code
* r300/compiler: Remove declaration before code.Vinson Lee2010-09-291-5/+6
| | | | | | | | Fixes these GCC warnings on linux-x86 build. r300_fragprog_swizzle.c: In function ‘r300_swizzle_is_native’: r300_fragprog_swizzle.c:120: warning: ISO C90 forbids mixed declarations and code r300_fragprog_swizzle.c: In function ‘r300_swizzle_split’: r300_fragprog_swizzle.c:159: warning: ISO C90 forbids mixed declarations and code
* r300/compiler: Move declaration before code.Vinson Lee2010-09-291-2/+3
| | | | | | Fixes this GCC warning on linux-x86 build. radeon_rename_regs.c: In function ‘rc_rename_regs’: radeon_rename_regs.c:112: warning: ISO C90 forbids mixed declarations and code
* r300/compiler: Move declaration before code.Vinson Lee2010-09-291-1/+2
| | | | | | Fixes this GCC warning on linux-x86 build. radeon_remove_constants.c: In function ‘rc_remove_unused_constants’: radeon_remove_constants.c:100: warning: ISO C90 forbids mixed declarations and code
* r300/compiler: Move declaration before code.Vinson Lee2010-09-291-6/+13
| | | | | | | | Fixes these GCC warning on linux-x86 build. radeon_optimize.c: In function ‘constant_folding’: radeon_optimize.c:419: warning: ISO C90 forbids mixed declarations and code radeon_optimize.c:425: warning: ISO C90 forbids mixed declarations and code radeon_optimize.c:432: warning: ISO C90 forbids mixed declarations and code
* r600g: Fix SCons build.Vinson Lee2010-09-291-5/+5
|
* r300/compiler: Move declaration before code.Vinson Lee2010-09-291-5/+9
| | | | | | | | | | | Fixes these GCC warnings on linux-x86 build. radeon_dataflow_deadcode.c: In function ‘push_branch’: radeon_dataflow_deadcode.c:112: warning: ISO C90 forbids mixed declarations and code radeon_dataflow_deadcode.c: In function ‘update_instruction’: radeon_dataflow_deadcode.c:183: warning: ISO C90 forbids mixed declarations and code radeon_dataflow_deadcode.c: In function ‘rc_dataflow_deadcode’: radeon_dataflow_deadcode.c:352: warning: ISO C90 forbids mixed declarations and code radeon_dataflow_deadcode.c:379: warning: ISO C90 forbids mixed declarations and code
* r600g: more cleanupJerome Glisse2010-09-2915-241/+257
| | | | Signed-off-by: Jerome Glisse <[email protected]>
* r600g: Update SConscript.Vinson Lee2010-09-291-6/+6
| | | | Fixes SCons build.
* r300/compiler: Move declaration before code.Vinson Lee2010-09-291-1/+2
| | | | | | Fixes this GCC warning on linux-x86 build. radeon_pair_regalloc.c: In function ‘rc_pair_regalloc_inputs_only’: radeon_pair_regalloc.c:330: warning: ISO C90 forbids mixed declarations and code
* r600g: Update SConscript.Vinson Lee2010-09-291-4/+6
| | | | Fixes SCons build.
* r300/compiler: Move declaration before code.Vinson Lee2010-09-291-8/+16
| | | | | | | | | | | | | | | | | Fixes these GCC warnings on linux-x86 build. radeon_pair_schedule.c: In function ‘emit_all_tex’: radeon_pair_schedule.c:244: warning: ISO C90 forbids mixed declarations and code radeon_pair_schedule.c: In function ‘destructive_merge_instructions’: radeon_pair_schedule.c:291: warning: ISO C90 forbids mixed declarations and code radeon_pair_schedule.c:438: warning: ISO C90 forbids mixed declarations and code radeon_pair_schedule.c: In function ‘scan_read’: radeon_pair_schedule.c:619: warning: ISO C90 forbids mixed declarations and code radeon_pair_schedule.c: In function ‘scan_write’: radeon_pair_schedule.c:645: warning: ISO C90 forbids mixed declarations and code radeon_pair_schedule.c: In function ‘schedule_block’: radeon_pair_schedule.c:673: warning: ISO C90 forbids mixed declarations and code radeon_pair_schedule.c: In function ‘rc_pair_schedule’: radeon_pair_schedule.c:730: warning: ISO C90 forbids mixed declarations and code
* r600g: cleanupJerome Glisse2010-09-2919-1265/+1014
| | | | Signed-off-by: Jerome Glisse <[email protected]>
* r600g: Update SConscript.Vinson Lee2010-09-291-7/+4
| | | | | | This is a follow-up to commit 9c284b5cae916a083d17d1039d2f2da128b47882. Fixes SCons build.
* r300g: add support for formats beginning with X, like X8R8G8B8Marek Olšák2010-09-292-12/+40
| | | | This is actually a format translator fix.
* r300/compiler: Move declaration before code.Vinson Lee2010-09-291-5/+10
| | | | | | | | | | 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
* r300/compiler: Move declaration before code.Vinson Lee2010-09-291-12/+16
| | | | | | | | | | | 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
* r600g: delete old pathJerome Glisse2010-09-2933-7352/+223
| | | | | | Lot of clean can now happen. Signed-off-by: Jerome Glisse <[email protected]>
* r300/compiler: Move declaration before code.Vinson Lee2010-09-291-2/+3
| | | | | | 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
* r300/compiler: Move declaration before code.Vinson Lee2010-09-291-9/+20
| | | | | | | | | | | | | | | | 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
* mesa: Fix printf format warning.Vinson Lee2010-09-291-1/+1
| | | | | | 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
* mesa: Fix printf format warning.Vinson Lee2010-09-291-1/+1
| | | | | | 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
* mesa: Fix printf format warning.Vinson Lee2010-09-291-1/+1
| | | | | | 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
* 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