summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2009-06-11r300: fix output register allocation for vertex shadersMaciej Cencora
If the vertex program wrote secondary color without primary color, the secondary color output register index would be 0 which resulted in overwriting vertex position in some cases.
2009-06-11r300: hw doesn't support saturation for tex instructionsMaciej Cencora
2009-06-11mesa: rework vertex shader output / fragment shader input attribute matchingBrian Paul
Before, if a vertex shader's outputs didn't exactly match a fragment shader's inputs we could wind up with invalid TGSI shader declarations. For example: Before patch: DCL OUT[0], POSITION DCL OUT[1], COLOR[1] DCL OUT[2], GENERIC[0] DCL OUT[3], GENERIC[0] <- note duplicate [0] DCL OUT[4], GENERIC[2] After patch: DCL OUT[0], POSITION DCL OUT[1], COLOR[1] DCL OUT[2], GENERIC[0] DCL OUT[3], GENERIC[1] DCL OUT[4], GENERIC[2]
2009-06-11mesa: add default function for ctx->Driver.CheckQuery() hookBrian Paul
2009-06-11python/retrace: Show the contents of the depth/stencil and surfaces ↵José Fonseca
before/after transfers.
2009-06-11python/retrace: Interpret is_texture_referenced/is_buffer_referenced.José Fonseca
2009-06-11wgl: Fix prototype.José Fonseca
2009-06-11Merge branch 'mesa_7_5_branch'José Fonseca
2009-06-11mesa: Use new pf_is_depth_and_stencil inline.José Fonseca
2009-06-11gallium: New pf_is_depth_and_stencil / pf_is_depth_or_stencil inlines.José Fonseca
2009-06-11mesa: Use PIPE_TEXTURE_USAGE_DEPTH_STENCIL for any depth or stencil format.José Fonseca
2009-06-11mesa: Remove dead code.José Fonseca
2009-06-11st/mesa: fix typo s/BFC0/BFC1/Brian Paul
2009-06-11vbo: fix assertion, #define IMM_BUFFER_NAMEBrian Paul
This was sometimes seen when Glean exited upon test failure when using Gallium.
2009-06-11Merge branch 'mesa_7_5_branch'José Fonseca
Conflicts: src/mesa/state_tracker/st_cb_fbo.c src/mesa/state_tracker/st_framebuffer.c
2009-06-11python/tests: Test sampling from a depth texture.José Fonseca
2009-06-11mesa: Only do read write when we don't have a depth value to writeJakob Bornecrantz
2009-06-11mesa: Take the format from the right structure.José Fonseca
2009-06-11meas: Use a read/write transfer when writing stencil component, but not ↵José Fonseca
touching the depth component.
2009-06-11r300: fix indexed primitive rendering when using memory managerJerome Glisse
2009-06-11dri st: Don't require the PIPE_TEXTURE_USAGE_RENDER_TARGET property for ↵Thomas Hellstrom
depth- and stencil renderbuffers. Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
2009-06-11intel: intel_texture_drawpixels() can't handle GL_DEPTH_STENCIL.Michel Dänzer
Fixes glean depthStencil test.
2009-06-10mesa: Reverse s8z24 into z24s8 as required by EXT_packed_depth_stencil.José Fonseca
Actually, after spotting this problem, I realized this is unreachable code. However don't bother to enable this fast path now, given the normal path is working just fine.
2009-06-10mesa: Fix typo in bitmask.José Fonseca
2009-06-10mesa: Fix draw_stencil_pixels for PIPE_FORMAT_Z24S8_UNORM.José Fonseca
Reversed component order. This fixes glean depthStencil test failures for PIPE_FORMAT_Z24S8_UNORM visuals.
2009-06-10glsl: fix warnings, update comments, s/TRUE/GL_TRUE/Brian Paul
(cherry picked from master, commit 7fdd64ab29576e607434fb8c82ddfa61e8ea6aa8)
2009-06-10glsl: Handle continuation characters in preprocessor.Brian Paul
(cherry picked from master, commit cc22620e4b11425997f3bc1fc70f4c88cec22d2e)
2009-06-10glsl: fix warnings, update comments, s/TRUE/GL_TRUE/Brian Paul
2009-06-10glsl: Handle continuation characters in preprocessor.Michal Krol
2009-06-10swrast: fix state validation bug for changing program constantsBrian Paul
Add _NEW_PROGRAM_CONSTANTS to _SWRAST_NEW_DERIVED. This makes sure that we update the fragment shader's constants when state vars (such as point size) changes. Fixes the progs/glsl/points.c demo.
2009-06-10glsl: Fix symbol replacement handling in preprocessor.Brian Paul
(cherry picked from master, commit d9617deb008b75f4a605a30408aeb1948139c33e)
2009-06-10mesa: disable texture unit error check in _mesa_MatrixMode()Brian Paul
See comments for details.
2009-06-10util: Single precision constants.José Fonseca
2009-06-10mesa: Single precision constants.José Fonseca
2009-06-10mesa: Pure software accum buffer.José Fonseca
The existing implementation was already implemented on software, but relied on the pipe driver to always support the R16G16B16A16_SNORM format. This patch eliminates that, without prejudice against a future hardware-only implementation. It also avoids some of the short <-> float conversions, and only does a read transfer of the color buffer on GL_RETURN if absolutely necessary.
2009-06-10gallium: Shorthand functions for computing stride and sizes for a rect.José Fonseca
2009-06-10gallium: updated PIPE_CAP_x commentsBrian Paul
2009-06-10r300: make sure indexed rendering doesn't try to use more than the num of ↵Jerome Glisse
vertices When with memory manager we need to make sure the GPU won't try to access beyond vertex buffer size, do so by enforcing that the maximun index is the last vertex of the buffer.
2009-06-09mesa/st: fix tracking of mapped buffer rangesKeith Whitwell
In st_bufferobj_map_range(), set obj->Offset consistently with its usage elsewhere.
2009-06-09stw: ignore swapbuffer requests on singlebufferKeith Whitwell
Return TRUE in this case. Returning FALSE seems to result in mis-rendering -- possibly opengl32.dll is trying to compensate by doing a software blit??
2009-06-09glsl: Expand nested preprocessor macros.Brian Paul
(cherry picked from master, commit ef8caec29ae73bb2bbeb48f0578d839ef29348cd)
2009-06-09Merge branch 'mesa_7_5_branch'Jakob Bornecrantz
Conflicts: Makefile src/mesa/main/version.h src/mesa/shader/slang/slang_preprocess.c src/mesa/state_tracker/st_cb_bufferobjects.c
2009-06-10glsl: Fix symbol replacement handling in preprocessor.Michal Krol
2009-06-10winsys/gdi: Link to ws2_32 library.Michal Krol
2009-06-10trace: __func__ --> __FUNCTION__.Michal Krol
2009-06-09i915: Add an option for testing the effect of early Z in classic mode.Eric Anholt
The early Z stuff is supposed to be unsafe without some more work in the enable/disable path (in particular, how do we want to get it disabled on the way out to the X Server?), but at the moment is 6% in OA.
2009-06-09intel: Remove an unneeded hunk that slipped in with texture tiling.Eric Anholt
intel_miptree_pitch_align does this later on.
2009-06-09intel: Base tri clearing depth on Y tiling, not IS_I965().Eric Anholt
Y tiling is why the 965 check was there, but I wanted to experiment with Y on pre-965 as well.
2009-06-09intel: Fix intel_region_unmap to do unmap, not map.Eric Anholt
Thanks to Shuang He for catching this.
2009-06-09i965: added intelFlush() call in intel_get_tex_image()Brian Paul
Fixes the render-to-texture test in progs/tests/getteximage.c