Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-06-16 | mesa: fix incorrect viewport clamping in _mesa_set_viewport() | Brian Paul | |
A 0 by 0 viewport size is legal. Don't clamp against lower bound of one. The error checking earlier in the function prevents negative values. | |||
2009-06-16 | mesa: fix REMAINDER() macro | Brian Paul | |
The results were incorrect for some negative values of A. See bug 21872. | |||
2009-06-16 | gallium: Avoid atomic ops / locking when src is dst. | José Fonseca | |
2009-06-15 | intel: Release fb backing regions in intelDestroyBuffer() | Shuang He | |
Fixes memory leak when destroying framebuffers. | |||
2009-06-15 | python/tests: Add is_depth_stencil_format utility function. | José Fonseca | |
2009-06-15 | python/tests: Cleanup texture_sample. | José Fonseca | |
2009-06-15 | mesa: Always return a value. | José Fonseca | |
2009-06-15 | mesa: Use appropriate float/integer types. | José Fonseca | |
2009-06-15 | mesa: Use type modifier for float constants. | José Fonseca | |
2009-06-15 | mesa: Use integer type with appropriate sign. | José Fonseca | |
2009-06-15 | rtasm: Use 32bit constant. | José Fonseca | |
As we're only using 32bit bitmasks. | |||
2009-06-15 | gallium: Ensure assert macro is defined before being used in p_thread.h | José Fonseca | |
2009-06-15 | softpipe: Fix softpipe_is_texture_referenced. | José Fonseca | |
Render results are only visible when the render cache is flushed. softpipe_is_texture_referenced must reflect that or transfers to/from the textures bound in the framebuffer won't be proceeded of the necessary flush, causing transfer data to be outdated/clobbered. This fixes conform drawpix test with softpipe. | |||
2009-06-15 | dri 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-15 | gallium: Fix segfault and valgrind error introduced with commit ↵ | Thomas Hellstrom | |
3f2e006b759705abd7c409d30f9aeb1f2a75b83f Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com> | |||
2009-06-12 | mesa: Enable uploads of only depth to z24s8 textures | Jakob Bornecrantz | |
2009-06-11 | mesa: rework vertex shader output / fragment shader input attribute matching | Brian 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-11 | mesa: add default function for ctx->Driver.CheckQuery() hook | Brian Paul | |
2009-06-11 | python/retrace: Show the contents of the depth/stencil and surfaces ↵ | José Fonseca | |
before/after transfers. | |||
2009-06-11 | python/retrace: Interpret is_texture_referenced/is_buffer_referenced. | José Fonseca | |
2009-06-11 | wgl: Fix prototype. | José Fonseca | |
2009-06-11 | mesa: Use new pf_is_depth_and_stencil inline. | José Fonseca | |
2009-06-11 | gallium: New pf_is_depth_and_stencil / pf_is_depth_or_stencil inlines. | José Fonseca | |
2009-06-11 | mesa: Use PIPE_TEXTURE_USAGE_DEPTH_STENCIL for any depth or stencil format. | José Fonseca | |
2009-06-11 | mesa: Remove dead code. | José Fonseca | |
2009-06-11 | st/mesa: fix typo s/BFC0/BFC1/ | Brian Paul | |
2009-06-11 | vbo: fix assertion, #define IMM_BUFFER_NAME | Brian Paul | |
This was sometimes seen when Glean exited upon test failure when using Gallium. | |||
2009-06-11 | python/tests: Test sampling from a depth texture. | José Fonseca | |
2009-06-11 | mesa: Only do read write when we don't have a depth value to write | Jakob Bornecrantz | |
2009-06-11 | mesa: Take the format from the right structure. | José Fonseca | |
2009-06-11 | meas: Use a read/write transfer when writing stencil component, but not ↵ | José Fonseca | |
touching the depth component. | |||
2009-06-10 | mesa: 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-10 | mesa: Fix typo in bitmask. | José Fonseca | |
2009-06-10 | mesa: 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-10 | glsl: fix warnings, update comments, s/TRUE/GL_TRUE/ | Brian Paul | |
(cherry picked from master, commit 7fdd64ab29576e607434fb8c82ddfa61e8ea6aa8) | |||
2009-06-10 | glsl: Handle continuation characters in preprocessor. | Brian Paul | |
(cherry picked from master, commit cc22620e4b11425997f3bc1fc70f4c88cec22d2e) | |||
2009-06-10 | swrast: fix state validation bug for changing program constants | Brian 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-10 | glsl: Fix symbol replacement handling in preprocessor. | Brian Paul | |
(cherry picked from master, commit d9617deb008b75f4a605a30408aeb1948139c33e) | |||
2009-06-10 | mesa: disable texture unit error check in _mesa_MatrixMode() | Brian Paul | |
See comments for details. | |||
2009-06-10 | util: Single precision constants. | José Fonseca | |
2009-06-10 | mesa: Single precision constants. | José Fonseca | |
2009-06-10 | mesa: 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-10 | gallium: Shorthand functions for computing stride and sizes for a rect. | José Fonseca | |
2009-06-09 | mesa/st: fix tracking of mapped buffer ranges | Keith Whitwell | |
In st_bufferobj_map_range(), set obj->Offset consistently with its usage elsewhere. | |||
2009-06-09 | stw: ignore swapbuffer requests on singlebuffer | Keith 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-09 | glsl: Expand nested preprocessor macros. | Brian Paul | |
(cherry picked from master, commit ef8caec29ae73bb2bbeb48f0578d839ef29348cd) | |||
2009-06-08 | st/mesa: fix incorrect bufObj Length assignment, remove unneeded assertion | Brian Paul | |
2009-06-08 | glsl: Fix preprocessor define argument parsing for dead sections. | Brian Paul | |
(cherry picked from master, commit 19a54d9f1055c366fd77026dd67007a8d5921f58) | |||
2009-06-08 | pipebuffer: Silence out of heap space debug print | Jakob Bornecrantz | |
2009-06-08 | st/mesa: remove invalid assertion | Brian Paul | |
It's legal for ARB_vertex_program programs to not write to result.position. The results are undefined in that case. This assertion was causing us to abort/exit though. |