Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mesa: Do copy propagation across if-else-endif. | José Fonseca | 2011-02-17 | 1 | -2/+28 |
| | | | | | | | | 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. | ||||
* | util: Cleanup symbol name resolution on Windows. | José Fonseca | 2011-02-17 | 2 | -39/+1310 |
| | | | | | | - Support symbol name resolution on MinGW. - Use dbghelp.dll (which should allow 64bit support), but untested yet. - Cleanup. | ||||
* | st/mesa: remove unused screen variables | Brian Paul | 2011-02-17 | 1 | -2/+0 |
| | |||||
* | mesa: remove the MESA_NO_DITHER env var | Brian Paul | 2011-02-17 | 3 | -16/+0 |
| | | | | This was sometimes useful back when 16-bit framebuffers were prominent. | ||||
* | softpipe: rename env vars to be consistent | Brian Paul | 2011-02-17 | 1 | -2/+2 |
| | |||||
* | egl_dri2: add swrast | Haitao Feng | 2011-02-16 | 5 | -52/+395 |
| | | | | | | | | 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 <[email protected]> | ||||
* | r600g: get s3tc working on cards with crappy 64/128 bit types. | Dave Airlie | 2011-02-17 | 4 | -0/+30 |
| | | | | | | | | | 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 <[email protected]> | ||||
* | r600g: add missing type to color buffer swap. | Dave Airlie | 2011-02-17 | 1 | -0/+1 |
| | |||||
* | gallium/util: init key with memset() | Brian Paul | 2011-02-16 | 1 | -1/+3 |
| | | | | To silence missing initializers warning. | ||||
* | svga: flush when transitioning between HW and SW rendering paths | Brian Paul | 2011-02-16 | 2 | -0/+11 |
| | | | | To avoid mixing HW and SW rendering with the same vertex buffer. | ||||
* | rtasm: add dummy return statement to silence MSVC warning | Brian Paul | 2011-02-16 | 1 | -1/+2 |
| | | | | | And use assert(0) instead of abort() to be consistent with rest of Gallium. | ||||
* | svga: use TRUE/FALSE instead of 0/1 | Brian Paul | 2011-02-16 | 1 | -4/+4 |
| | | | | | Some fields are booleans, others are bitmasks. Use TRUE/FALSE to clarify what's what. | ||||
* | svga: fix incorrect comment | Brian Paul | 2011-02-16 | 1 | -1/+1 |
| | |||||
* | svga: dimension the dirty[] array with SVGA_STATE_MAX | Brian Paul | 2011-02-16 | 1 | -1/+3 |
| | |||||
* | mesa: make _mesa_write_renderbuffer_image() non-static | Brian Paul | 2011-02-16 | 2 | -3/+14 |
| | |||||
* | svga: disable a debug_printf() call | Brian Paul | 2011-02-16 | 1 | -3/+6 |
| | |||||
* | mesa: 80-column wrap | Brian Paul | 2011-02-16 | 1 | -2/+2 |
| | |||||
* | svga: Proper redefine_user_buffer implementation. | José Fonseca | 2011-02-16 | 4 | -1/+58 |
| | | | | Unfortunately still not enough to make GoogleEarth happy. | ||||
* | r300g: fix a race between CS and SET_TILING ioctls | Marek Olšák | 2011-02-16 | 6 | -13/+25 |
| | |||||
* | r300g: fix blitting NPOT compressed textures | Marek Olšák | 2011-02-16 | 2 | -11/+11 |
| | |||||
* | mesa: fix texture3D mipmap generation for UNSIGNED_BYTE_3_3_2 and 4_4 | Marek Olšák | 2011-02-16 | 1 | -2/+2 |
| | | | | | | | 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. | ||||
* | mesa: fix mipmap generation for MESA_FORMAT_AL44 | Marek Olšák | 2011-02-16 | 4 | -1/+61 |
| | | | | This was missed when implementing AL44. | ||||
* | mesa: Remove the DXT compression via blit path. | José Fonseca | 2011-02-16 | 2 | -157/+1 |
| | | | | No longer used. | ||||
* | svga: Don't fake DXT compression ability. | José Fonseca | 2011-02-16 | 2 | -17/+0 |
| | |||||
* | nvc0: fix blend factor mapping | Christoph Bumiller | 2011-02-16 | 1 | -31/+26 |
| | |||||
* | nvc0: fix emit_dfdx,dfdy | Christoph Bumiller | 2011-02-16 | 1 | -0/+2 |
| | |||||
* | nvc0: don't swap sources if either value is not in a GPR | Christoph Bumiller | 2011-02-16 | 1 | -0/+3 |
| | | | | | The memory / immediate source should already be in the only valid position. | ||||
* | nvc0: add missing break statements in constant_operand | Christoph Bumiller | 2011-02-16 | 1 | -0/+2 |
| | |||||
* | nvc0: fix clipping and use VIEWPORT instead of SCISSOR | Christoph Bumiller | 2011-02-16 | 5 | -70/+58 |
| | |||||
* | nvc0: demagic the clear flags and fix region clears | Christoph Bumiller | 2011-02-16 | 3 | -32/+62 |
| | | | | | The CLIP_RECTs always affect dedicated clears, and it's nicer than having to mark the viewport or scissor state dirty after it. | ||||
* | nvc0: front stencil mask and func mask methods are swapped | Christoph Bumiller | 2011-02-16 | 2 | -8/+10 |
| | |||||
* | nvc0: clone memory values with multiple refs before modifying them | Christoph Bumiller | 2011-02-16 | 1 | -2/+5 |
| | |||||
* | nvc0: disable early fragment tests if KIL is used | Christoph Bumiller | 2011-02-16 | 1 | -1/+1 |
| | | | | Early-Z pass raises the occlusion counter. | ||||
* | nvc0: force vertex data through FIFO if we need to convert it | Christoph Bumiller | 2011-02-16 | 2 | -1/+9 |
| | | | | | We may want to put the converted vertex buffer in persistent storage instead, but these are rare corner cases. | ||||
* | nvc0: use format from the template on surface creation | Christoph Bumiller | 2011-02-16 | 1 | -1/+1 |
| | | | | Fixes piglit/fbo-srgb. | ||||
* | nvc0: update the set of formats supported by the 2D engine | Christoph Bumiller | 2011-02-16 | 1 | -16/+10 |
| | |||||
* | nvc0: fix user vertex buffer updates | Christoph Bumiller | 2011-02-16 | 4 | -11/+42 |
| | |||||
* | mesa: use gl_format type instead of GLuint | Brian Paul | 2011-02-16 | 1 | -2/+2 |
| | |||||
* | r600g: fix typo in previous s3tc commit | Dave Airlie | 2011-02-16 | 1 | -1/+1 |
| | | | | pointed out by Marek on irc. | ||||
* | r300g: fix texture border color for float formats | Marek Olšák | 2011-02-16 | 1 | -1/+14 |
| | |||||
* | Revert "util: fix DXT1 RGBA texture compression if the source color is (0, ↵ | Dave Airlie | 2011-02-16 | 1 | -14/+2 |
| | | | | | | | | 0, 0, 0)" This reverts commit 6e7d782da506da233b2ac695b022ac393e1c719e. Oops, I just had this locally for testing and forgot to remove it before pushing. | ||||
* | r600g: add L8A8 SRGB formats. | Dave Airlie | 2011-02-16 | 3 | -2/+8 |
| | | | | | | this fixes the piglit mipmap generation sRGB on my rv730. Signed-off-by: Dave Airlie <[email protected]> | ||||
* | util: fix DXT1 RGBA texture compression if the source color is (0, 0, 0, 0) | Marek Olšák | 2011-02-16 | 1 | -2/+14 |
| | | | | | | | | | 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 <[email protected]> | ||||
* | r600g: add L4A4 support. | Dave Airlie | 2011-02-16 | 2 | -0/+12 |
| | | | | | | this fixes piglit fbo-generatemipmap-formats on my rv730. Signed-off-by: Dave Airlie <[email protected]> | ||||
* | r600g: fix s3tc-texsubimage | Dave Airlie | 2011-02-16 | 1 | -0/+3 |
| | | | | | | | | we need to translate the destination box as well. fixes piglit's s3tc-texsubimage test. Signed-off-by: Dave Airlie <[email protected]> | ||||
* | linker: Fix off-by-one error implicit array sizing | Ian Romanick | 2011-02-15 | 1 | -1/+1 |
| | | | | | | | | | 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. | ||||
* | st/python: add usage parameter to pipe_buffer_create | Vinson Lee | 2011-02-15 | 2 | -2/+3 |
| | | | | | | This is a follow-up to commit eafb7f234d11a290b00dcaf5492b9bdad1cf5148. Fixes Linux SCons build. | ||||
* | r300g: disable linear filtering for float textures | Marek Olšák | 2011-02-16 | 1 | -0/+45 |
| | |||||
* | glsl: Reinstate constant-folding for division by zero | Chad Versace | 2011-02-15 | 1 | -21/+21 |
| | | | | | | | | | | | | | | | Fixes regression: https://bugs.freedesktop.org/show_bug.cgi?id=34160 Commit e7c1f058d18f62aa4871aec623f994d7b68cb8c1 disabled constant-folding when division-by-zero occured. This was a mistake, because the spec does allow division by zero. (From section 5.9 of the GLSL 1.20 spec: Dividing by zero does not cause an exception but does result in an unspecified value.) For floating-point division, the original pre-e7c1f05 behavior is reinstated. For integer division, constant-fold 1/0 to 0. | ||||
* | Revert "glsl: Fix constant-folding for reciprocal expressions" | Chad Versace | 2011-02-15 | 1 | -10/+6 |
| | | | | | | | | | | | | This reverts commit b3cf92aa916ee0537ee37723c23a9897ac9cd3e0. The reverted commit prevented constant-folding of reciprocal expressions when the reciprocated expression was 0. However, since the spec allows division by zero, constant-folding *is* permissible in this case. From Section 5.9 of the GLSL 1.20 spec: Dividing by zero does not cause an exception but does result in an unspecified value. |