summaryrefslogtreecommitdiffstats
path: root/src/mesa
Commit message (Collapse)AuthorAgeFilesLines
* ARB_texture_rg: Handle RED and RG the same as RGB for tex envIan Romanick2010-10-011-0/+6
|
* ARB_texture_rg: Add GL_RED as a valid GL_DEPTH_TEXTURE_MODEIan Romanick2010-10-012-1/+5
|
* ARB_texture_rg: Add GL_TEXTURE_{RED,GREEN}_SIZE query supportIan Romanick2010-10-011-0/+10
|
* ARB_texture_rg: Correct some errors in RED / RG internal format handlingIan Romanick2010-10-011-9/+32
| | | | | | | | | | | | | | Fixes several problems: The half-float, float, and integer internal formats depend on ARB_texture_rg and other extensions. RG_INTEGER is not a valid internal format. Generic compressed formats depend on ARB_texture_rg, not EXT_texture_compression_rgtc. Use GL_RED instead of GL_R.
* i965: Fix up copy'n'pasteo from moving coordinate setup around for gen4.Eric Anholt2010-10-011-2/+0
|
* i965: Add real support for pre-gen5 texture sampling to the new FS.Eric Anholt2010-10-011-24/+98
| | | | | Fixes 36 testcases, including glsl-fs-shadow2d*-bias which fail on the Mesa IR backend.
* evergreen : fix z format setting, enable stencil.richard2010-10-012-30/+62
|
* i965: Pre-gen6, map VS outputs (not FS inputs) to URB setup in the new FS.Eric Anholt2010-10-011-24/+48
| | | | | | | | | We should fix the SF to actually give us just the data we need, but this fixes regressions in the new FS until then. Fixes: glsl-kwin-blur glsl-routing
* i965: Also increment attribute location when skipping unused slots.Eric Anholt2010-10-011-0/+1
| | | | Fixes glsl1-texcoord varying.
* i965: Fix the gen6 jump size for BREAK/CONT in new FS.Eric Anholt2010-10-011-1/+1
| | | | | Since gen5, jumps are in increments of 64 bits instead of increments of 128-bit instructions.
* i965: Add gen6 attribute interpolation to new FS backend.Eric Anholt2010-10-011-3/+39
| | | | Untested, since my hardware is not booting at the moment.
* r600c: pull over 6xx/7xx vertex fixes for evergreenAlex Deucher2010-10-013-58/+42
|
* i965: Split the gen4 and gen5 sampler handling apart.Eric Anholt2010-09-301-23/+103
| | | | | | | | | Trying to track the insanity of the different argument layouts for normal/shadow crossed with normal/lod/bias one generation at a time is enough. Fixes: glsl1-texture2D() with bias. (first test passing in this code that doesn't pass without it!)
* i965: Use the lowering pass for texture projection.Eric Anholt2010-09-301-16/+3
| | | | | | We should end up with the same code, but anyone else with this issue could share the handling (which I got wrong for shadow comparisons in the driver before).
* r600c: add reloc for CB_COLOR0_ATTRIBAlex Deucher2010-09-301-3/+11
| | | | | We'll need a reloc for tiling eventually, so add it now.
* i965: Fix new FS handling of builtin uniforms with packed scalars in structs.Eric Anholt2010-09-301-4/+4
| | | | | | | We were pointing each element at the .x channel of the ParameterValues. Fixes glsl1-linear fog.
* mesa: Don't reference a W component in setting up a vec3 uniform component.Eric Anholt2010-09-301-1/+5
| | | | | The 965 driver would try to set up storage for the W component, and the offsets would get mixed up.
* i965: Fix whole-structure/array assignment in new FS.Eric Anholt2010-09-301-21/+55
| | | | | We need to walk the type tree to get the right register types for structure components. Fixes glsl-fs-statevar-call.
* i965: Update renderer strings for sandybridgeAdam Jackson2010-09-301-0/+13
| | | | Signed-off-by: Adam Jackson <[email protected]>
* st: remove duplicated includeNicolas Kaiser2010-09-301-1/+0
| | | | | | Remove duplicated include. Signed-off-by: Brian Paul <[email protected]>
* math: remove duplicated includesNicolas Kaiser2010-09-302-2/+0
| | | | | | Remove duplicated includes. Signed-off-by: Brian Paul <[email protected]>
* main: remove duplicated includesNicolas Kaiser2010-09-303-6/+1
| | | | | | Remove duplicated includes. Signed-off-by: Brian Paul <[email protected]>
* dri/savage: remove duplicated includeNicolas Kaiser2010-09-301-1/+0
| | | | | | Remove duplicated include. Signed-off-by: Brian Paul <[email protected]>
* dri/radeon: remove duplicated includesNicolas Kaiser2010-09-302-2/+0
| | | | | | Remove duplicated includes. Signed-off-by: Brian Paul <[email protected]>
* dri/r600: remove duplicated includeNicolas Kaiser2010-09-301-1/+0
| | | | | | Remove duplicated include. Signed-off-by: Brian Paul <[email protected]>
* dri/r300: remove duplicated includeNicolas Kaiser2010-09-301-2/+0
| | | | | | Remove duplicated include. Signed-off-by: Brian Paul <[email protected]>
* dri/r128: remove duplicated includeNicolas Kaiser2010-09-301-1/+0
| | | | | | Remove duplicated include. Signed-off-by: Brian Paul <[email protected]>
* dri/mga: remove duplicated includeNicolas Kaiser2010-09-301-1/+0
| | | | | | Remove duplicated include. Signed-off-by: Brian Paul <[email protected]>
* dri/intel: remove duplicated includeNicolas Kaiser2010-09-301-1/+0
| | | | | | Remove duplicated include. Signed-off-by: Brian Paul <[email protected]>
* dri/i965: remove duplicated includeNicolas Kaiser2010-09-301-1/+0
| | | | | | Remove duplicated include. Signed-off-by: Brian Paul <[email protected]>
* dri/i915: remove duplicated includeNicolas Kaiser2010-09-301-1/+0
| | | | | | Remove duplicated include. Signed-off-by: Brian Paul <[email protected]>
* dri/i810: remove duplicated includeNicolas Kaiser2010-09-301-1/+0
| | | | | | Remove duplicated include. Signed-off-by: Brian Paul <[email protected]>
* dri/common: remove duplicated includeNicolas Kaiser2010-09-301-4/+0
| | | | | | Remove duplicated include. Signed-off-by: Brian Paul <[email protected]>
* swrast: remove duplicated includeNicolas Kaiser2010-09-301-1/+0
| | | | | | Remove duplicated include. Signed-off-by: Brian Paul <[email protected]>
* dri/nv10: Use fast Z clears.Francisco Jerez2010-09-306-11/+88
|
* dri/nouveau: Remove unnecessary flush.Francisco Jerez2010-09-301-3/+1
|
* dri/nouveau: Have a smaller amount of larger scratch buffers.Francisco Jerez2010-09-301-2/+2
| | | | Larger VBOs avoid many kernel trips to get them in sync with the GPU.
* i965: always set tiling for fbo depth buffer on sandybridgeZhenyu Wang2010-09-301-2/+8
| | | | | | Sandybridge requires depth buffer must be tiling. Fix 'fbo_firecube' demo.
* i965: Remove my "safety counter" code from loops.Eric Anholt2010-09-291-14/+0
| | | | | | I've screwed this up enough times that I don't think it's worth it. This time, it was that I was doing it once per top-level body instruction instead of just once at the end of the loop body.
* i965: Add live interval analysis and hook it up to the register allocator.Eric Anholt2010-09-291-2/+83
| | | | Fixes 13 piglit cases that failed at register allocation before.
* i965: First cut at register allocation using graph coloring.Eric Anholt2010-09-291-7/+151
| | | | | | The interference is totally bogus (maximal), so this is equivalent to our trivial register assignment before. As in, passes the same set of piglit tests.
* ra: First cut at a graph-coloring register allocator for mesa.Eric Anholt2010-09-293-0/+431
| | | | Notably missing is choice of registers to spill.
* i965: Clean up the virtual GRF handling.Eric Anholt2010-09-291-23/+53
| | | | | | Now, virtual GRFs are consecutive integers, rather than offsetting the next one by the size. We need the size information to still be around for real register allocation, anyway.
* 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
|
* 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