Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | r300g: fix alignement for NPOT values in hyperz setup | Nicolas Peninguy | 2011-03-11 | 1 | -3/+3 |
| | | | | | | | With 3 pipes cards we need to align with NPOT values. This fixes: https://bugs.freedesktop.org/show_bug.cgi?id=32945 Signed-off-by: Nicolas Peninguy <[email protected]> | ||||
* | r300g: handle timeout parameter in fence_finish | Marek Olšák | 2011-03-08 | 1 | -0/+17 |
| | |||||
* | gallium: add timeout parameter to fence_finish | Marek Olšák | 2011-03-08 | 1 | -1/+2 |
| | | | | | This is a follow-up to the ARB_sync patch for st/mesa and completes the ARB_sync implementation. | ||||
* | r300g: add LATC support | Marek Olšák | 2011-03-08 | 3 | -4/+22 |
| | |||||
* | r300g: decide whether a flush should be asynchronous when calling it | Marek Olšák | 2011-03-08 | 8 | -38/+37 |
| | | | | Thread offloading is not sometimes desirable, e.g. when mapping a buffer. | ||||
* | r300g: use pipelined transfers for RGTC textures | Marek Olšák | 2011-03-08 | 1 | -1/+2 |
| | |||||
* | r300g/swtcl: advertise draw_instanced and primitive_restart | Marek Olšák | 2011-03-05 | 1 | -2/+5 |
| | |||||
* | r300g: implement instanced arrays | Marek Olšák | 2011-03-05 | 5 | -48/+132 |
| | |||||
* | gallium: split CAP_INSTANCE_DRAWING into INSTANCEID and INSTANCE_DIVISOR | Marek Olšák | 2011-03-05 | 1 | -1/+2 |
| | | | | | | | | ARB_instanced_arrays is a subset of D3D9. ARB_draw_instanced is a subset of D3D10. The point of this change is to allow D3D9-level drivers to enable ARB_instanced_arrays without ARB_draw_instanced. | ||||
* | r300g: cleanup parameters of draw functions | Marek Olšák | 2011-03-05 | 3 | -108/+113 |
| | |||||
* | r300g: preliminary implementation of clamping controls | Marek Olšák | 2011-03-04 | 4 | -22/+33 |
| | |||||
* | r300g: implement FP16 alpha test | Marek Olšák | 2011-03-04 | 4 | -8/+55 |
| | |||||
* | r300g: implement blending for some of non-RGBA8 formats | Marek Olšák | 2011-03-04 | 2 | -7/+52 |
| | | | | | | | | | | | | | | | | Blending is now fully supported with: - R8_UNORM - R8G8_UNORM - B8G8R8A8_UNORM - R16G16B16A16_FLOAT (r500-only) Blending is partially supported (DST_ALPHA not working) with: - L8A8_UNORM - I8_UNORM - B5G5R5A1_UNORM - B10G10R10A2_UNORM The other formats can't do blending. | ||||
* | r300g: require DRM 2.3.0 (kernel 2.6.34) | Marek Olšák | 2011-03-02 | 10 | -102/+60 |
| | | | | Running any older kernel is not recommended anyway. | ||||
* | r300g: Silence 'control reaches end of non-void function' warning. | Vinson Lee | 2011-03-02 | 1 | -0/+4 |
| | | | | | | Fixes this GCC warning. r300_hyperz.c: In function 'r300_get_hiz_func': r300_hyperz.c:65: warning: control reaches end of non-void function | ||||
* | r300g: accelerate resoure_copy_region for rgtc | Marek Olšák | 2011-03-02 | 1 | -1/+2 |
| | |||||
* | r300g: initialize some r500 PS3 regs | Marek Olšák | 2011-03-01 | 3 | -5/+18 |
| | |||||
* | r300g: document some more DRM 2.8.0 features | Marek Olšák | 2011-03-01 | 1 | -1/+1 |
| | |||||
* | 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 |
| | |||||
* | 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... | ||||
* | 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. | ||||
* | 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. | ||||
* | 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. | ||||
* | r300g: force swizzles for RGTC | Dave Airlie | 2011-02-28 | 1 | -0/+5 |
| | | | | still can't get signed to work | ||||
* | r300g: explicit sign bits on RGTC textures | Dave Airlie | 2011-02-25 | 1 | -2/+4 |
| | |||||
* | r300g: fix missing initializers warning | Brian Paul | 2011-02-22 | 1 | -2/+4 |
| | |||||
* | r300g: fix a possible race when counting contexts | Marek Olšák | 2011-02-19 | 3 | -2/+8 |
| | | | | Atomics aren't sufficient here. | ||||
* | r300g: remove tracking whether vertex buffers need to be validated | Marek Olšák | 2011-02-18 | 7 | -88/+27 |
| | | | | | This was getting hard to maintain and didn't really bring any real benefits. Instead, validate buffers when the vertex array state is dirty. | ||||
* | r300g: fix a race between CS and SET_TILING ioctls | Marek Olšák | 2011-02-16 | 3 | -7/+4 |
| | |||||
* | r300g: fix blitting NPOT compressed textures | Marek Olšák | 2011-02-16 | 2 | -11/+11 |
| | |||||
* | r300g: fix texture border color for float formats | Marek Olšák | 2011-02-16 | 1 | -1/+14 |
| | |||||
* | r300g: disable linear filtering for float textures | Marek Olšák | 2011-02-16 | 1 | -0/+45 |
| | |||||
* | gallium: add usage parameter to pipe_buffer_create | Marek Olšák | 2011-02-15 | 1 | -0/+1 |
| | | | | | And set a reasonable buffer usage flag everywhere instead of just PIPE_USAGE_DEFAULT. | ||||
* | r300g: offload the CS ioctl to another thread | Marek Olšák | 2011-02-15 | 2 | -2/+13 |
| | | | | | | | | | | This is a multi-threading optimization which hides the kernel overhead behind a thread. It improves performance in CPU-limited apps by 2-15%. Of course you must have at least 2 cores for it to make any difference. It can be disabled with: export RADEON_THREAD=0 | ||||
* | r300g: implement fences using dummy relocations | Marek Olšák | 2011-02-15 | 4 | -65/+32 |
| | | | | So finally we have them. | ||||
* | r300g: fix SIGFPE on debug builds | Marek Olšák | 2011-02-15 | 1 | -2/+2 |
| | |||||
* | r300g: inline some of the pipe_buffer_map/unmap calls | Marek Olšák | 2011-02-15 | 1 | -18/+14 |
| | |||||
* | r300g: do not track whether occlusion queries have been flushed | Marek Olšák | 2011-02-14 | 4 | -18/+5 |
| | | | | The winsys takes care of flushing automatically. | ||||
* | gallium: notify drivers about possible changes in user buffer contents | Marek Olšák | 2011-02-14 | 1 | -0/+2 |
| | | | | Also implement the redefine_user_buffer hook in the drivers. | ||||
* | r300g: Remove redundant initialization. | Vinson Lee | 2011-02-14 | 1 | -1/+1 |
| | | | | | Remove redundant initialization from commit 3b01b52bd78e3d2fc857feacebd815a5fae00c94 noticed by tstellar. | ||||
* | r300g: put indices in CS if there's just a few of them and are in user memory | Marek Olšák | 2011-02-14 | 1 | -3/+99 |
| | |||||
* | r300g: cleanup the draw functions | Marek Olšák | 2011-02-14 | 2 | -76/+53 |
| | |||||
* | r300g: do not create a user buffer struct for misaligned ushort indices fallback | Marek Olšák | 2011-02-14 | 3 | -12/+8 |
| | |||||
* | r300g: fix fallback for misaligned ushort indices with num vertices >= 65535 | Marek Olšák | 2011-02-14 | 1 | -1/+5 |
| | |||||
* | r300g: consolidate emission of common draw regs | Marek Olšák | 2011-02-14 | 1 | -21/+23 |
| |