Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-10-04 | swrast: fix choose_depth_texture_level() to respect mipmap filtering state | Brian Paul | 1 | -5/+10 | |
NOTE: this is a candidate for the 7.9 branch. | |||||
2010-10-04 | i965: Add support for gen6 FB writes to the new FS. | Eric Anholt | 2 | -3/+22 | |
This uses message headers for now, since we'll need it for MRT. We can cut out the header later. | |||||
2010-10-04 | i965: In disasm, gen6 fb writes don't put msg reg # in destreg_conditionalmod. | Eric Anholt | 1 | -1/+1 | |
It instead sensibly appears in the src0 slot. | |||||
2010-10-04 | i965: Add initial folding of constants into operand immediate slots. | Eric Anholt | 1 | -0/+90 | |
We could try to detect this in expression handling and do it proactively there, but it seems like less logic to do it in one optional pass at the end. | |||||
2010-10-04 | i965: Add trivial dead code elimination in the new FS backend. | Eric Anholt | 1 | -2/+50 | |
The glsl core should be handling most dead code issues for us, but we generate some things in codegen that may not get used, like the 1/w value or pixel deltas. It seems a lot easier this way than trying to work out up front whether we're going to use those values or not. | |||||
2010-10-04 | i965: Be more conservative on live interval calculation. | Eric Anholt | 1 | -3/+11 | |
This also means that our intervals now highlight dead code. | |||||
2010-10-03 | i965: Fix glean/texSwizzle regression in previous commit. | Eric Anholt | 1 | -18/+18 | |
Easy enough patch, who needs a full test run. Oh, that's right. Me. | |||||
2010-10-02 | i965: Set up swizzling of shadow compare results for GL_DEPTH_TEXTURE_MODE. | Eric Anholt | 1 | -1/+32 | |
The brw_wm_surface_state.c handling of GL_DEPTH_TEXTURE_MODE doesn't apply to shadow compares, which always return an intensity value. The texture swizzles can do the job for us. Fixes: glsl1-shadow2D(): 1 glsl1-shadow2D(): 3 | |||||
2010-10-02 | i965: Add support for EXT_texture_swizzle to the new FS backend. | Eric Anholt | 1 | -0/+21 | |
2010-10-02 | mesa/st: initial attempt at RG support for gallium drivers | Dave Airlie | 4 | -1/+93 | |
passes all piglit RG tests with softpipe. | |||||
2010-10-01 | i965: Fix incorrect batchbuffer size in gen6 clip state command. | Kenneth Graunke | 1 | -1/+0 | |
FORCE_ZERO_RTAINDEX should be in the fourth (and final) dword. | |||||
2010-10-01 | i965: Don't try to emit code if we failed register allocation. | Eric Anholt | 1 | -1/+2 | |
2010-10-01 | i965: Fix off-by-ones in handling the last members of register classes. | Eric Anholt | 1 | -5/+5 | |
Luckily, one of them would result in failing out register allocation when the other bugs were encountered. Applies to glsl-fs-vec4-indexing-temp-dst-in-nested-loop-combined, which still fails register allocation, but now legitimately. | |||||
2010-10-01 | i965: Add a sanity check for register allocation sizes. | Eric Anholt | 1 | -0/+5 | |
2010-10-01 | i965: When producing a single channel swizzle, don't make a temporary. | Eric Anholt | 1 | -0/+5 | |
This quickly cuts 8% of the instructions in my glsl demo. | |||||
2010-10-01 | i965: Restore the forcing of aligned pairs for delta_xy on chips with PLN. | Eric Anholt | 1 | -12/+43 | |
By doing so using the register allocator now, we avoid wasting a register to make the alignment happen. | |||||
2010-10-01 | r600c: fix segfault in evergreen stencil code | Alex Deucher | 1 | -15/+9 | |
Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=30551 | |||||
2010-10-01 | rgtc: Detect RGTC formats as color formats and as compressed formats | Ian Romanick | 1 | -0/+9 | |
2010-10-01 | mesa: Trivial correction to comment | Ian Romanick | 1 | -1/+1 | |
2010-10-01 | mesa: Fix misplaced #endif | Ian Romanick | 1 | -1/+1 | |
If FEATURE_texture_s3tc is not defined, FXT1 formats would erroneously fall through to the MESA_FORMAT_RGBA_FLOAT32 case. | |||||
2010-10-01 | ARB_texture_rg: Add GL_COMPRESSED_{RED,RG} cases in _mesa_is_color_format | Ian Romanick | 1 | -0/+2 | |
2010-10-01 | mesa: Add ARB_texture_compression_rgtc as an alias for ↵ | Ian Romanick | 4 | -8/+9 | |
EXT_texture_compression_rgtc Change the name in the extension tracking structure to ARB (from EXT). | |||||
2010-10-01 | savage: Remove unnecessary header. | Vinson Lee | 1 | -1/+0 | |
2010-10-01 | i965: Enable GL_ARB_texture_rg | Ian Romanick | 4 | -0/+91 | |
2010-10-01 | mesa: Enable GL_ARB_texture_rg in software paths | Ian Romanick | 1 | -0/+1 | |
2010-10-01 | ARB_texture_rg: Allow RED and RG textures as FBO color buffer attachments | Ian Romanick | 1 | -2/+8 | |
2010-10-01 | ARB_texture_rg: Add R8, R16, RG88, and RG1616 internal formats | Ian Romanick | 8 | -30/+515 | |
2010-10-01 | ARB_texture_rg: Handle RED and RG the same as RGB for tex env | Ian Romanick | 1 | -0/+6 | |
2010-10-01 | ARB_texture_rg: Add GL_RED as a valid GL_DEPTH_TEXTURE_MODE | Ian Romanick | 2 | -1/+5 | |
2010-10-01 | ARB_texture_rg: Add GL_TEXTURE_{RED,GREEN}_SIZE query support | Ian Romanick | 1 | -0/+10 | |
2010-10-01 | ARB_texture_rg: Correct some errors in RED / RG internal format handling | Ian Romanick | 1 | -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. | |||||
2010-10-01 | i965: Fix up copy'n'pasteo from moving coordinate setup around for gen4. | Eric Anholt | 1 | -2/+0 | |
2010-10-01 | i965: Add real support for pre-gen5 texture sampling to the new FS. | Eric Anholt | 1 | -24/+98 | |
Fixes 36 testcases, including glsl-fs-shadow2d*-bias which fail on the Mesa IR backend. | |||||
2010-10-01 | evergreen : fix z format setting, enable stencil. | richard | 2 | -30/+62 | |
2010-10-01 | i965: Pre-gen6, map VS outputs (not FS inputs) to URB setup in the new FS. | Eric Anholt | 1 | -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 | |||||
2010-10-01 | i965: Also increment attribute location when skipping unused slots. | Eric Anholt | 1 | -0/+1 | |
Fixes glsl1-texcoord varying. | |||||
2010-10-01 | i965: Fix the gen6 jump size for BREAK/CONT in new FS. | Eric Anholt | 1 | -1/+1 | |
Since gen5, jumps are in increments of 64 bits instead of increments of 128-bit instructions. | |||||
2010-10-01 | i965: Add gen6 attribute interpolation to new FS backend. | Eric Anholt | 1 | -3/+39 | |
Untested, since my hardware is not booting at the moment. | |||||
2010-10-01 | r600c: pull over 6xx/7xx vertex fixes for evergreen | Alex Deucher | 3 | -58/+42 | |
2010-09-30 | i965: Split the gen4 and gen5 sampler handling apart. | Eric Anholt | 1 | -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!) | |||||
2010-09-30 | i965: Use the lowering pass for texture projection. | Eric Anholt | 1 | -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). | |||||
2010-09-30 | r600c: add reloc for CB_COLOR0_ATTRIB | Alex Deucher | 1 | -3/+11 | |
We'll need a reloc for tiling eventually, so add it now. | |||||
2010-09-30 | i965: Fix new FS handling of builtin uniforms with packed scalars in structs. | Eric Anholt | 1 | -4/+4 | |
We were pointing each element at the .x channel of the ParameterValues. Fixes glsl1-linear fog. | |||||
2010-09-30 | mesa: Don't reference a W component in setting up a vec3 uniform component. | Eric Anholt | 1 | -1/+5 | |
The 965 driver would try to set up storage for the W component, and the offsets would get mixed up. | |||||
2010-09-30 | i965: Fix whole-structure/array assignment in new FS. | Eric Anholt | 1 | -21/+55 | |
We need to walk the type tree to get the right register types for structure components. Fixes glsl-fs-statevar-call. | |||||
2010-09-30 | i965: Update renderer strings for sandybridge | Adam Jackson | 1 | -0/+13 | |
Signed-off-by: Adam Jackson <ajax@redhat.com> | |||||
2010-09-30 | st: remove duplicated include | Nicolas Kaiser | 1 | -1/+0 | |
Remove duplicated include. Signed-off-by: Brian Paul <brianp@vmware.com> | |||||
2010-09-30 | math: remove duplicated includes | Nicolas Kaiser | 2 | -2/+0 | |
Remove duplicated includes. Signed-off-by: Brian Paul <brianp@vmware.com> | |||||
2010-09-30 | main: remove duplicated includes | Nicolas Kaiser | 3 | -6/+1 | |
Remove duplicated includes. Signed-off-by: Brian Paul <brianp@vmware.com> | |||||
2010-09-30 | dri/savage: remove duplicated include | Nicolas Kaiser | 1 | -1/+0 | |
Remove duplicated include. Signed-off-by: Brian Paul <brianp@vmware.com> |