summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2010-06-07util: allocate larger tmp_row in util_format_translateKeith Whitwell
The tmp_row storage allocation took into account the format's y block size by allocating y_step rows of data. However, the x block size was not being taken into account when deciding how wide those rows need to be. Now make sure that tmp_row is at least x_step by y_step in size.
2010-06-07tgsi: reject interpolation and semantics on vs inputsKeith Whitwell
2010-06-07regress: remove interpolation and semantic info from vs inputsKeith Whitwell
2010-06-07test/graw: add vp-testKeith Whitwell
2010-06-07tests/graw: add fp-testKeith Whitwell
2010-06-07r300g: fix 24-bit depth texturingMarek Olšák
This is a secret texture format, do not tell anybody. And it looks like we can read stencil in the shader too.
2010-06-06r600g: add shader literal constant supportJerome Glisse
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-06-06st/mesa: advertise GL_ARB_fragment_program_shadowMarek Olšák
There is nothing driver-specific about this one. I've also tested it just to be sure.
2010-06-06r300g: workaround index bias on chipsets that do not support itMarek Olšák
2010-06-05st/mesa: trivially enable GL_ATI_texture_env_combine3Marek Olšák
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šák
The specifications are identical.
2010-06-04i915g: Use template Xorg makefileJakob Bornecrantz
2010-06-04gallium: Use correct defines in Xorg template makefileJakob Bornecrantz
2010-06-04gallium: Add winsys to include path to Xorg template makefileJakob Bornecrantz
2010-06-05gallium: always build drivers/swJoakim Sindholt
2010-06-05r300compiler: fix scons buildJoakim Sindholt
2010-06-05r600g: split instruction into scalarJerome Glisse
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 Scheidegger
This reverts commit acb20e7208341fb6a2b81ac10aa01f17e93a1dea. Oops should check commits after rebase...
2010-06-05i915g: fix bug in ds clear logic (still disabled)Roland Scheidegger
2010-06-05st/mesa: fix bug in depthstencil optimizing clear logicRoland Scheidegger
2010-06-05llvmpipe: handle PIPE_CAP_TEXTURE_SWIZZLE queryRoland Scheidegger
asserts on unknown caps
2010-06-05llvmpipe: Expose PIPE_CAP_TEXTURE_SWIZZLE.José Fonseca
2010-06-05i915: Only emit a MI_FLUSH when the drawing rectangle offset changes.Chris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-06-05i915: Fix off-by-one for drawing rectangle.Chris Wilson
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 Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-06-05mesa/st: add support for EXT_texture_swizzle.Dave Airlie
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šák
2010-06-05r300/compiler: implement SNE unwound for r3xx VS, natively for r5xx VSMarek Olšák
2010-06-05r300/compiler: implement SEQ unwound for r3xx VS, natively for r5xx VSMarek Olšák
Fixes piglit/glsl-vs-vec4-indexing-4.
2010-06-05r300/compiler: implement SFL for vertex shadersMarek Olšák
And sort the "case" statements alphabetically.
2010-06-04vbo: misc clean-upsBrian Paul
2010-06-04i915g: Rename winsys c file.Vinson Lee
This was missed in commit e7f0f6bb72c63fd6e6ddcb7a815be68682f1764c. Fixes i915g SCons build.
2010-06-04llvmpipe: new -s option to run single testBrian Paul
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 Anholt
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 Anholt
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 Anholt
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øgsberg
2010-06-04llvmpipe: Do unswizzling in parallel when flushing for transfers.José Fonseca
2010-06-04st/egl: Fix compiler warnings.Chia-I Wu
Forgot to stage this chunk in last commit.
2010-06-04st/egl: Move sw screen creation to native helper.Chia-I Wu
The code is shared by ximage and gdi backend.
2010-06-04r600g: implement clear_{render_target, depth_stencil}, resource_copy_regionMarek Olšák
resource_copy_region uses a software fallback because it relies on texture samplers which haven't been implemented yet.
2010-06-04r600g: make blit functions static (private)Marek Olšák
2010-06-04r600g: use cast wrappersMarek Olšák
2010-06-03r600g: Move declaration before code.Vinson Lee
Fixes SCons build.
2010-06-03util: Remove unnecessary header.Vinson Lee
2010-06-03nv50: Remove unnecessary header.Vinson Lee
2010-06-03svga: Remove unnecessary header.Vinson Lee
2010-06-03llvmpipe: Fix uninitialized variable on non-debug builds.Vinson Lee
2010-06-03r600g: added code for depthtestingBas Nieuwenhuizen
- added code to configure the depth buffer and to set up depth testing.
2010-06-03r600g: adapt to interface changesRoland Scheidegger
r600g should be able to handle separate depth stencil clears as well. Also adapt surface_fill/copy stubs to new interface (not that it matters).