summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2011-02-17st/mesa: fix incorrect glCopyPixels position on fallback pathBrian Paul
If we hit the pipe_get/put_tile() path for setting up the glCopyPixels texture we were passing the wrong x/y position to pipe_get_tile(). The x/y position was already accounted for in the pipe_get_transfer() call so we were effectively reading from 2*readX, 2*readY. NOTE: This is a candidate for the 7.9 and 7.10 branches.
2011-02-17draw: update comments, rename vars in pstipple codeBrian Paul
2011-02-17svga: Don't use more than one constant per IFC instruction.José Fonseca
2011-02-17mesa: Do copy propagation across if-else-endif.José Fonseca
Addresses excessive TEMP allocation in vertex shaders where all CONSTs are stored into TEMPS at the start, but copy propagation was failing due to the presence of IFs. We could do something about loops, but ifs are easy enough.
2011-02-17util: Cleanup symbol name resolution on Windows.José Fonseca
- Support symbol name resolution on MinGW. - Use dbghelp.dll (which should allow 64bit support), but untested yet. - Cleanup.
2011-02-17st/mesa: remove unused screen variablesBrian Paul
2011-02-17mesa: remove the MESA_NO_DITHER env varBrian Paul
This was sometimes useful back when 16-bit framebuffers were prominent.
2011-02-17softpipe: rename env vars to be consistentBrian Paul
2011-02-16egl_dri2: add swrastHaitao Feng
This enables the egl_dri2 driver to load swrast driver for software rendering. It could be used when hardware dri2 drivers are not available, such as in VM. Signed-off-by: Haitao Feng <haitao.feng@intel.com>
2011-02-17r600g: get s3tc working on cards with crappy 64/128 bit types.Dave Airlie
Some cards don't appear to work correctly with the UNORM type, so switch to the integer type, however since gallium has no integer types yet from what I can see we need to do a hack to workaround it for the blitter. Signed-off-by: Dave Airlie <airlied@redhat.com>
2011-02-17r600g: add missing type to color buffer swap.Dave Airlie
2011-02-16gallium/util: init key with memset()Brian Paul
To silence missing initializers warning.
2011-02-16svga: flush when transitioning between HW and SW rendering pathsBrian Paul
To avoid mixing HW and SW rendering with the same vertex buffer.
2011-02-16rtasm: add dummy return statement to silence MSVC warningBrian Paul
And use assert(0) instead of abort() to be consistent with rest of Gallium.
2011-02-16svga: use TRUE/FALSE instead of 0/1Brian Paul
Some fields are booleans, others are bitmasks. Use TRUE/FALSE to clarify what's what.
2011-02-16svga: fix incorrect commentBrian Paul
2011-02-16svga: dimension the dirty[] array with SVGA_STATE_MAXBrian Paul
2011-02-16mesa: make _mesa_write_renderbuffer_image() non-staticBrian Paul
2011-02-16svga: disable a debug_printf() callBrian Paul
2011-02-16mesa: 80-column wrapBrian Paul
2011-02-16svga: Proper redefine_user_buffer implementation.José Fonseca
Unfortunately still not enough to make GoogleEarth happy.
2011-02-16r300g: fix a race between CS and SET_TILING ioctlsMarek Olšák
2011-02-16r300g: fix blitting NPOT compressed texturesMarek Olšák
2011-02-16mesa: fix texture3D mipmap generation for UNSIGNED_BYTE_3_3_2 and 4_4Marek Olšák
Oops, I copy-pasted a typo from 3_3_2. The 3_3_2 part is a candidate for 7.9 and 7.10. The 4_4 part isn't, because AL44 is in neither branches.
2011-02-16mesa: fix mipmap generation for MESA_FORMAT_AL44Marek Olšák
This was missed when implementing AL44.
2011-02-16mesa: Remove the DXT compression via blit path.José Fonseca
No longer used.
2011-02-16svga: Don't fake DXT compression ability.José Fonseca
2011-02-16nvc0: fix blend factor mappingChristoph Bumiller
2011-02-16nvc0: fix emit_dfdx,dfdyChristoph Bumiller
2011-02-16nvc0: don't swap sources if either value is not in a GPRChristoph Bumiller
The memory / immediate source should already be in the only valid position.
2011-02-16nvc0: add missing break statements in constant_operandChristoph Bumiller
2011-02-16nvc0: fix clipping and use VIEWPORT instead of SCISSORChristoph Bumiller
2011-02-16nvc0: demagic the clear flags and fix region clearsChristoph Bumiller
The CLIP_RECTs always affect dedicated clears, and it's nicer than having to mark the viewport or scissor state dirty after it.
2011-02-16nvc0: front stencil mask and func mask methods are swappedChristoph Bumiller
2011-02-16nvc0: clone memory values with multiple refs before modifying themChristoph Bumiller
2011-02-16nvc0: disable early fragment tests if KIL is usedChristoph Bumiller
Early-Z pass raises the occlusion counter.
2011-02-16nvc0: force vertex data through FIFO if we need to convert itChristoph Bumiller
We may want to put the converted vertex buffer in persistent storage instead, but these are rare corner cases.
2011-02-16nvc0: use format from the template on surface creationChristoph Bumiller
Fixes piglit/fbo-srgb.
2011-02-16nvc0: update the set of formats supported by the 2D engineChristoph Bumiller
2011-02-16nvc0: fix user vertex buffer updatesChristoph Bumiller
2011-02-16mesa: use gl_format type instead of GLuintBrian Paul
2011-02-16r600g: fix typo in previous s3tc commitDave Airlie
pointed out by Marek on irc.
2011-02-16r300g: fix texture border color for float formatsMarek Olšák
2011-02-16Revert "util: fix DXT1 RGBA texture compression if the source color is (0, ↵Dave Airlie
0, 0, 0)" This reverts commit 6e7d782da506da233b2ac695b022ac393e1c719e. Oops, I just had this locally for testing and forgot to remove it before pushing.
2011-02-16r600g: add L8A8 SRGB formats.Dave Airlie
this fixes the piglit mipmap generation sRGB on my rv730. Signed-off-by: Dave Airlie <airlied@redhat.com>
2011-02-16util: fix DXT1 RGBA texture compression if the source color is (0, 0, 0, 0)Marek Olšák
This is a workaround for a bug in libtxc_dxtn. Fixes: - piglit/GL_EXT_texture_compression_s3tc/fbo-generatemipmap-formats Signed-off-by: Dave Airlie <airlied@redhat.com>
2011-02-16r600g: add L4A4 support.Dave Airlie
this fixes piglit fbo-generatemipmap-formats on my rv730. Signed-off-by: Dave Airlie <airlied@redhat.com>
2011-02-16r600g: fix s3tc-texsubimageDave Airlie
we need to translate the destination box as well. fixes piglit's s3tc-texsubimage test. Signed-off-by: Dave Airlie <airlied@redhat.com>
2011-02-15linker: Fix off-by-one error implicit array sizingIan Romanick
Arrays are zero based. If the highest element accessed is 6, the array needs to have 7 elements. Fixes piglit test glsl-fs-implicit-array-size-03 and bugzilla #34198. NOTE: This is a candidate for the 7.9 and 7.10 branches.
2011-02-15st/python: add usage parameter to pipe_buffer_createVinson Lee
This is a follow-up to commit eafb7f234d11a290b00dcaf5492b9bdad1cf5148. Fixes Linux SCons build.