summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-06-10r300/compiler: Handle more complex conditionals in loops.r300-loopsTom Stellard1-71/+84
2010-06-08r300/compiler: Fix warning.Tom Stellard1-1/+1
2010-06-08r300/compiler: Handle SGT and SLE at the beginning of loops.Tom Stellard1-3/+11
2010-06-07r300/compiler: Verify assumptions about opcode types.Tom Stellard1-4/+33
2010-06-05r300/compiler: Unroll loops that decrement the counter.Tom Stellard1-49/+83
e.g. for(i=10; i>0; i--)
2010-06-05r300/compiler: Unroll loops that have a constant number of iterations.Tom Stellard1-2/+209
This only works with for loops that increment the counter. e.g. for(i=0; i<10; i++)
2010-06-05r300/compiler: Implement simple loop emulationTom Stellard7-3/+233
The loop emulation unrolls loops as may times as possbile while still keeping the shader program below the maximum instruction limit. At this point, there are no checks for constant conditionals. This is only enabled for fragment shaders.
2010-06-05st/mesa: trivially enable GL_ATI_texture_env_combine3Marek Olšák1-0/+2
This extension is implemented in the texenv program. Gallium drivers pass patched glean/texCombine. (I am going to send the patch soon) Catalyst9.3 advertises this extension too so I don't see a reason we shouldn't.
2010-06-05mesa: add ARB_texture_swizzle as alias of EXT_texture_swizzle, update relnotesMarek Olšák2-0/+2
The specifications are identical.
2010-06-04i915g: Use template Xorg makefileJakob Bornecrantz1-46/+10
2010-06-04gallium: Use correct defines in Xorg template makefileJakob Bornecrantz1-4/+4
2010-06-04gallium: Add winsys to include path to Xorg template makefileJakob Bornecrantz1-0/+1
2010-06-05gallium: always build drivers/swJoakim Sindholt2-7/+11
2010-06-05r300compiler: fix scons buildJoakim Sindholt1-0/+2
2010-06-05r600g: split instruction into scalarJerome Glisse4-147/+142
Split instruction into scalar in core compiler this simplify the way we translate the instruction in latter stage. Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-06-05Revert "llvmpipe: handle PIPE_CAP_TEXTURE_SWIZZLE query"Roland Scheidegger1-2/+0
This reverts commit acb20e7208341fb6a2b81ac10aa01f17e93a1dea. Oops should check commits after rebase...
2010-06-05i915g: fix bug in ds clear logic (still disabled)Roland Scheidegger1-2/+2
2010-06-05st/mesa: fix bug in depthstencil optimizing clear logicRoland Scheidegger1-1/+2
2010-06-05llvmpipe: handle PIPE_CAP_TEXTURE_SWIZZLE queryRoland Scheidegger1-0/+2
asserts on unknown caps
2010-06-05llvmpipe: Expose PIPE_CAP_TEXTURE_SWIZZLE.José Fonseca1-0/+2
2010-06-05i915: Only emit a MI_FLUSH when the drawing rectangle offset changes.Chris Wilson2-8/+24
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-06-05i915: Fix off-by-one for drawing rectangle.Chris Wilson1-2/+2
The drawing rectangle is given in *inclusive* pixel values, so the range is only [0,2047]. Hence when rendering to a 2048 wide target, such as an extended desktop, we would issue an illegal instruction zeroing the draw area. Fixes: Bug 27408: Primary and Secondary display blanks in extended desktop mode with Compiz enabled https://bugs.freedesktop.org/show_bug.cgi?id=27408 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-06-05i915: Inhibit render cache flush when changing drawing rectangle offset.Chris Wilson1-1/+1
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-06-05mesa/st: add support for EXT_texture_swizzle.Dave Airlie5-2/+63
This passes on r300g, the only bit I'm not really sure about is the handling of the sampler_view in st_atom_texture.c, I unreference it there if the swizzle value changes and I also have to create a new set of functions to create a new one since the u_sampler.c ones don't handle swizzle so much. adds r300g + softpipe enables, I think other drivers could pass easily enough. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-06-05r300/compiler: implement SIN+COS+SCS for vertex shadersMarek Olšák3-21/+76
2010-06-05r300/compiler: implement SNE unwound for r3xx VS, natively for r5xx VSMarek Olšák2-1/+37
2010-06-05r300/compiler: implement SEQ unwound for r3xx VS, natively for r5xx VSMarek Olšák2-0/+36
Fixes piglit/glsl-vs-vec4-indexing-4.
2010-06-05r300/compiler: implement SFL for vertex shadersMarek Olšák1-2/+3
And sort the "case" statements alphabetically.
2010-06-04docs: note that the Mesa demos are in a new repoBrian Paul1-0/+2
2010-06-04docs: links to the Mesa demos git repoBrian Paul1-1/+11
2010-06-04mesa: remove PROGRAM_DIRS from config filesBrian Paul19-22/+0
2010-06-04mesa: remove old references to demo files and progs subdirBrian Paul1-64/+6
2010-06-04progs: remove rbug subdirBrian Paul13-1010/+0
2010-06-04demos: remove fbdev subdirBrian Paul3-655/+0
2010-06-04progs: remove beos subdirBrian Paul5-560/+0
2010-06-04progs: remove tools subdirBrian Paul7-583/+0
2010-06-04progs: remove slang subdirBrian Paul15-3458/+0
2010-06-04vbo: misc clean-upsBrian Paul1-29/+36
2010-06-04i915g: Rename winsys c file.Vinson Lee1-1/+1
This was missed in commit e7f0f6bb72c63fd6e6ddcb7a815be68682f1764c. Fixes i915g SCons build.
2010-06-04llvmpipe: new -s option to run single testBrian Paul7-3/+63
Put specific test code in the test_single() function and pass -s to execute that code.
2010-06-04i915: Don't use XRGB8888 on 830 and 845.Eric Anholt3-2/+18
The support for XRGB8888 appeared in the 855 and 865, and this format is reserved on 830/845. This should fix a regression from b4a6169412819cc3a027c6a118f0537911145a30 that caused hangs in etracer on 845s. Bug #26557.
2010-06-04i915: Clamp minimum lod to maximum texture level too.Eric Anholt1-1/+3
Otherwise, we'd run into minlod > maxlod, and the sampler would give us the undefined we asked for. Bug #24846. Fixes OGLC texlod.c.
2010-06-04intel: Fix intel_compressed_num_bytes for FXT1 after I broke it.Eric Anholt1-1/+1
Fixes piglit fxt1-teximage since 7554b83a21bd62b20df5a7327b69f08108ac9ab6, and also OGLC tests that hit FXT1 with a million other things. Bug #28184.
2010-06-04glsl: Recject rect samplers when GL_ARB_texture_rectangle is disabledKristian Høgsberg1-0/+27
2010-06-04llvmpipe: Do unswizzling in parallel when flushing for transfers.José Fonseca1-0/+7
2010-06-04progs: Remove forked/dead files.José Fonseca5-2013/+0
2010-06-04st/egl: Fix compiler warnings.Chia-I Wu1-0/+1
Forgot to stage this chunk in last commit.
2010-06-04st/egl: Move sw screen creation to native helper.Chia-I Wu5-93/+52
The code is shared by ximage and gdi backend.
2010-06-03scons: Add cygwin to list of accepted platforms.Vinson Lee1-1/+1
2010-06-04r600g: implement clear_{render_target, depth_stencil}, resource_copy_regionMarek Olšák1-0/+17
resource_copy_region uses a software fallback because it relies on texture samplers which haven't been implemented yet.