Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Revert "i965/fs: Correctly set up gl_FragCoord.w on Sandybridge." | Kenneth Graunke | 2011-03-01 | 1 | -1/+1 |
| | | | | | This reverts commit 4a3b28113c3d23ba21bb8b8f5ebab7c567083a6d, as it caused a regression on Ironlake (bug #34646). | ||||
* | st/dri: one more missing array size | Dave Airlie | 2011-03-01 | 1 | -0/+1 |
| | | | | | | whats one more between friends. again bnf on irc. | ||||
* | st/dri: fix missing array size init. | Dave Airlie | 2011-03-01 | 1 | -0/+1 |
| | | | | | | Init array size to 1, reported by bnf on irc. | ||||
* | egl/st: add array size initialisor | Dave Airlie | 2011-03-01 | 1 | -0/+1 |
| | | | | reported by bnf on irc. | ||||
* | r600g: add NV_conditional_render support. | Dave Airlie | 2011-03-01 | 7 | -27/+117 |
| | | | | | | | | This is reliant on a drm patch that I posted on the list + a version bump. These will appear in drm-next today. Signed-off-by: Dave Airlie <[email protected]> | ||||
* | r600g: start using drm minor version to enable things. | Dave Airlie | 2011-03-01 | 10 | -19/+87 |
| | | | | | | | | | | If the drm minor version is > 9 (i.e. whats in drm-next), we enable s3tc + texture tiling by default now. this changes R600_FORCE_TILING to R600_TILING which can be set to false to disable tiling on working drm. Signed-off-by: Dave Airlie <[email protected]> | ||||
* | r300g: fix RGTC2_SNORM | Marek Olšák | 2011-03-01 | 2 | -1/+4 |
| | | | | ATI engineers have probably chosen those sign bits by a dice roll. | ||||
* | r300g: reorder parts of translate_texformat | Marek Olšák | 2011-03-01 | 1 | -14/+14 |
| | |||||
* | r600g: truncate point sampled texture coordinates | Alex Deucher | 2011-02-28 | 2 | -1/+14 |
| | | | | | | | | | | | | By default the hardware rounds texcoords. However, for point sampled textures, the expected behavior is to truncate. When we have point sampled textures, set the truncate bit in the sampler. Should fix: https://bugs.freedesktop.org/show_bug.cgi?id=25871 Signed-off-by: Alex Deucher <[email protected]> | ||||
* | i965: bump VS thread number to 60 on SNB | Zou Nan hai | 2011-03-01 | 2 | -2/+11 |
| | | | | Signed-off-by: Zou Nan hai <[email protected]> | ||||
* | r300g: fix RGTC1_UNORM and RGTC2_UNORM | Marek Olšák | 2011-03-01 | 2 | -10/+27 |
| | | | | Signs don't work the way I'd like... | ||||
* | rgtc: shared the compressor code between signed/unsigned | Dave Airlie | 2011-03-01 | 2 | -696/+403 |
| | | | | | | | | No idea why I didn't do it like this the first time, but share the code like other portions of mesa do using _tmp.h suffix and some #defines for the types. Signed-off-by: Dave Airlie <[email protected]> | ||||
* | vbo: silence unused var warning | Brian Paul | 2011-02-28 | 1 | -0/+1 |
| | |||||
* | softpipe: remove redundant draw_flush() call | Brian Paul | 2011-02-28 | 1 | -2/+0 |
| | | | | We'll flush after the same-shader comparison. | ||||
* | draw: setup pipe's draw pointer for the aapoint stage | Brian Paul | 2011-02-28 | 1 | -0/+2 |
| | | | | | | The other draw stages like aaline and pstipple were already doing this. If the driver used the aapoint stage but not the others it would crash because of a null pipe->draw pointer. | ||||
* | mesa: move PBO-related functions into a new file | Brian Paul | 2011-02-28 | 29 | -391/+488 |
| | |||||
* | mesa: always generate error in glColorTableParameter[fi]v() | Brian Paul | 2011-02-28 | 1 | -23/+6 |
| | | | | These were only used by GL_SGI_texture_color_table, which is gone now. | ||||
* | mesa: remove GL_SGI_texture_color_table support | Brian Paul | 2011-02-28 | 10 | -154/+3 |
| | | | | | | It was only implemented in the swrast driver and probably not used by any applications. A modern app would use a dependent/chained texture lookup in the fragment shader. | ||||
* | svga: add assertions in svga_shader_type() | Brian Paul | 2011-02-28 | 1 | -2/+5 |
| | |||||
* | mesa: consolidate framebuffer target lookup code | Brian Paul | 2011-02-28 | 1 | -89/+33 |
| | |||||
* | mesa: remove some old do-nothing code | Brian Paul | 2011-02-28 | 1 | -3/+0 |
| | |||||
* | mesa: reduce calls to _mesa_test_framebuffer_completeness() | Brian Paul | 2011-02-28 | 1 | -1/+1 |
| | | | | | when updating/validating framebuffer state. The _Status field is set to zero when we need to recompute _Status. Otherwise, it's up to date. | ||||
* | mesa: reduce calls to _mesa_test_framebuffer_completeness() | Brian Paul | 2011-02-28 | 1 | -2/+6 |
| | | | | | | when doing glCopyTex[Sub]Image() and checking the source buffer's completeness. We only need to determine FBO completeness when the status is indeterminate. | ||||
* | mesa: s/mesaFormat/attFormat/ | Brian Paul | 2011-02-28 | 1 | -4/+4 |
| | |||||
* | r300g: set the correct HiZ clear value | Marek Olšák | 2011-03-01 | 4 | -3/+12 |
| | |||||
* | r300g: update derived state before uploading vertex buffers | Marek Olšák | 2011-03-01 | 1 | -2/+2 |
| | | | | The function may invoke blitter, which invalidates vertex buffers. | ||||
* | u_vbuf_mgr: compute user buffer size for instance data from instance_count | Marek Olšák | 2011-03-01 | 1 | -3/+7 |
| | |||||
* | r300g: fix printing whether Z compression is enabled | Marek Olšák | 2011-03-01 | 1 | -1/+2 |
| | |||||
* | r300g: disable HiZ permanently if the the depth function is inverted | Marek Olšák | 2011-03-01 | 3 | -73/+94 |
| | | | | | | | Instead of temporarily. The HiZ function (something like a depth function) is a property of a HiZ buffer and can only be changed during HiZ clears. | ||||
* | r300g: fix HiZ memory size computation and deciding when to use HiZ | Marek Olšák | 2011-03-01 | 10 | -258/+148 |
| | | | | | | | I removed the HiZ memory management, because the HiZ RAM is too small and I also did it in hope that HiZ will be enabled more often. This also sets aligned strides to HIZ_PITCH and ZMASK_PITCH. | ||||
* | r600g: add missing evergreen INT_TO_FLT to r600_bc_get_num_operands | Alex Deucher | 2011-02-28 | 1 | -0/+1 |
| | | | | Signed-off-by: Alex Deucher <[email protected]> | ||||
* | rgtc: fix void pointer arith. | Dave Airlie | 2011-03-01 | 1 | -2/+2 |
| | | | | should fix scons build. | ||||
* | glsl: Enable GL_OES_texture_3D extension for ES2. | Kenneth Graunke | 2011-02-28 | 8 | -4/+40 |
| | |||||
* | glsl: Use reralloc instead of plain realloc. | Kenneth Graunke | 2011-02-28 | 1 | -5/+3 |
| | | | | | | Plugs a memory leak when compiling shaders with user defined structures. NOTE: This is a candidate for the 7.9 and 7.10 branches. | ||||
* | r600g: indentation fixes | Jerome Glisse | 2011-02-28 | 6 | -66/+65 |
| | | | | Signed-off-by: Jerome Glisse <[email protected]> | ||||
* | r300g: initialize SC_SCREENDOOR | Marek Olšák | 2011-02-28 | 2 | -2/+3 |
| | |||||
* | r300g: disable hyper-z on rs6xx+ | Marek Olšák | 2011-02-28 | 1 | -6/+0 |
| | | | | It doesn't work. | ||||
* | mesa: Add texcompress_rgtc.c to SConscript. | Vinson Lee | 2011-02-27 | 1 | -0/+1 |
| | |||||
* | rgtc: update docs | Dave Airlie | 2011-02-28 | 2 | -1/+2 |
| | |||||
* | mesa/st: add RGTC format support. | Dave Airlie | 2011-02-28 | 2 | -0/+33 |
| | | | | this just adds a format check + format conversion. | ||||
* | swrast: add RGTC support | Dave Airlie | 2011-02-28 | 2 | -0/+20 |
| | |||||
* | mesa: Add RGTC texture store/fetch support. | Dave Airlie | 2011-02-28 | 8 | -3/+1287 |
| | | | | | | | | | This adds support for the RGTC unsigned and signed texture storage and fetch methods. the code is a port of the DXT5 alpha compression code. Signed-off-by: Dave Airlie <[email protected]> | ||||
* | mesa: make_float_temp_image non-static | Dave Airlie | 2011-02-28 | 2 | -23/+32 |
| | | | | We need this to do signed stuff for RGTC. | ||||
* | rgtc: llvmpipe/softpipe refuse RGTC until u_format has support. | Dave Airlie | 2011-02-28 | 2 | -0/+10 |
| | | | | | | So far I haven't implemented the u_format code for these. Signed-off-by: Dave Airlie <[email protected]> | ||||
* | r300g: force swizzles for RGTC | Dave Airlie | 2011-02-28 | 1 | -0/+5 |
| | | | | still can't get signed to work | ||||
* | r600g: implement instanced drawing support | Christian König | 2011-02-28 | 6 | -103/+191 |
| | |||||
* | st/mesa & v_bug_mgr: two small instanced drawing fixes | Christian König | 2011-02-28 | 2 | -1/+6 |
| | |||||
* | Revert "r600g: Don't negate result of ABS instruction" | Dave Airlie | 2011-02-28 | 1 | -2/+0 |
| | | | | | | This reverts commit b6d40213935da702570eca2c0861bd4b1d7f5254. This actually breaks gears here on my rv670. | ||||
* | r600g: Process TRUNC with tgis_op2 | Fabian Bieler | 2011-02-28 | 1 | -2/+2 |
| | | | | | | TRUNC is neither a scalar instruction nor exclusive to the Trans unit. Signed-off-by: Dave Airlie <[email protected]> | ||||
* | r600g: Don't negate result of ABS instruction | Fabian Bieler | 2011-02-28 | 1 | -0/+2 |
| | | | | Signed-off-by: Dave Airlie <[email protected]> |