summaryrefslogtreecommitdiffstats
path: root/src/gallium
Commit message (Collapse)AuthorAgeFilesLines
* st/vega: adapt to interface changesRoland Scheidegger2010-05-174-57/+37
|
* st/xorg: adapt to interface changesRoland Scheidegger2010-05-174-76/+54
|
* st/python: adapt to interface changesRoland Scheidegger2010-05-176-27/+49
| | | | | | | compile tested only. Should probably change the python surface_copy/fill functions also into resource_copy/fill_region functions and adapt the code using them.
* svga: adapt to interface changesRoland Scheidegger2010-05-172-19/+42
| | | | | might need further cleanup. Using surfaces internally just to be able to use the existing code might cause unnecessary copies afaict.
* r300g: adapt to interface changesRoland Scheidegger2010-05-175-61/+89
| | | | | might need further cleanup. Using surfaces internally for the u_blitter code seems nonoptimal.
* nouveau: adapt to interface changesRoland Scheidegger2010-05-178-30/+72
| | | | | this probably needs further cleanup (just getting a surface for the resource seems quite nonoptimal and potentially cause unnecessary copies I think)
* fo: adapt to interface changesRoland Scheidegger2010-05-171-2/+2
|
* identity: adapt to interface changesRoland Scheidegger2010-05-172-51/+65
|
* trace: adapt to interface changesRoland Scheidegger2010-05-172-28/+40
|
* i965g: adapt to interface changesRoland Scheidegger2010-05-174-4/+13
|
* i915g: adapt to interface changesRoland Scheidegger2010-05-172-21/+67
|
* softpipe: adapt to interface changesRoland Scheidegger2010-05-172-16/+7
|
* llvmpipe: adapt to interface changesRoland Scheidegger2010-05-172-20/+27
|
* cell: adapt to interface changesRoland Scheidegger2010-05-172-16/+8
| | | | not even compile tested but fairly trivial
* gallium/util: adapt util code to interface changesRoland Scheidegger2010-05-178-143/+145
| | | | | | | | | | | The util blit functions change their interface (apart from some rename) too (in particular util_blit_pixels now also takes a pipe_resource as the src blit argument instead of a surface, as it might just call resource_copy_region). Maybe the blit util code might need a bit more cleanup, it still doesn't feel very clean. In particular it seems that util_blit_pixels_tex should probably disappear, and I think it would be great if the code called by drivers for blitting (u_blitter.c, which isn't really touched by this change) could somehow be merged with the u_blit code.
* gallium: clean up resource_copy_region functionRoland Scheidegger2010-05-172-6/+3
| | | | | | | | | | Previously, surface_copy was said to allow overlapping blits, and it was "optional". However, some state trackers actually assumed it is always present, and quite some code (like in u_blit) assumed overlapping isn't allowed. Hence, resource_copy_region (and in the same spirit, resource_fill_region) is now mandatory, but overlapping blits are no longer allowed. A driver can plug in the cpu fallback util_resource_copy_region if it does not want to provide its own implementation, though this is not optimal.
* gallium: another interface change for multisamplingRoland Scheidegger2010-05-172-21/+5
| | | | | | | | | | due to popular request, use nr_samples parameter in is_format_supported() instead of new is_msaa_supported() query. This makes it easily possible to query if a format with a given sample count is also supported not only as render target, but for sampler views (note that texture sampling from multisampled resources isn't supported yet). It is not quite how dx10 format msaa queries work, but we might need to revisit format queries completely in the future anyway.
* Merge commit 'origin/master' into gallium-msaaRoland Scheidegger2010-05-0493-1407/+1478
|\
| * gallivm: Proper implementation of TXL opcode.José Fonseca2010-05-045-70/+100
| |
| * gallivm: Fix several glitches introduced in the prev commit.José Fonseca2010-05-043-6/+7
| |
| * gallivm: Implement TXD.José Fonseca2010-05-045-40/+62
| |
| * gallium: move surface utility functions into u_surface.cBrian Paul2010-05-0313-181/+182
| | | | | | | | This is a better place than in u_rect.c
| * gallivm: Increase the TGSI translation limits and centralize them in a header.José Fonseca2010-05-042-13/+69
| |
| * gallicm: Newton-Raphson step to improve precision.José Fonseca2010-05-041-2/+27
| | | | | | | | | | Disabled as it doesn't make VS/PSPrecision DCT happy, and it would unnecessarily slow some cases where it is not needed.
| * cso: use framebuffer utility functionsBrian Paul2010-05-031-41/+7
| |
| * gallium: move framebuffer utility functions into a new fileBrian Paul2010-05-039-84/+165
| |
| * r300g: use util_format_short_name and util_format_is_plainMarek Olšák2010-05-034-29/+17
| |
| * util: add util_format_short_nameMarek Olšák2010-05-031-0/+13
| |
| * util: add util_format_is_plainMarek Olšák2010-05-031-0/+15
| |
| * r300g: refuse to create a texture with size 0Marek Olšák2010-05-031-0/+11
| |
| * r300g: improve texture debug output, split into TEX and TEXALLOC flagsMarek Olšák2010-05-033-6/+22
| |
| * Reorder LLVM passes, running mem2reg earlier.Török Edwin2010-05-032-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This gives a ~30% shader optimization time improvement on blender. Tested by comparing the dumped LLVM modules. Current ordering: time ~/llvm-git/obj/Release-Asserts/bin/opt l.bc -constprop -instcombine -mem2reg -gvn -simplifycfg real 0m1.126s user 0m1.108s sys 0m0.012s With this patch: time ~/llvm-git/obj/Release-Asserts/bin/opt l.bc -mem2reg -constprop -instcombine -gvn -simplifycfg real 0m0.885s user 0m0.880s sys 0m0.000s The overall improvement in blender is ~15%. Blender without the patch takes 1m13s: edwin 5934 87.6 11.5 729440 458296 pts/5 SLl+ 17:35 1:13 blender Blender with the patch takes 1m3s: edwin 5726 94.2 11.2 716424 446168 pts/5 SLl+ 17:32 1:03 blender It is still slow with the patch, but better (most of the optimization time is taken up by GVN, see LLVM PR7023). Signed-off-by: Török Edwin <[email protected]> Signed-off-by: José Fonseca <[email protected]>
| * svga: Silent warning.José Fonseca2010-05-031-1/+1
| |
| * gallivm: Display message instead of crashing when sampler generator was not ↵José Fonseca2010-05-031-0/+8
| | | | | | | | supplied for tgsi translation.
| * translate: Make translate_generic truly generic.José Fonseca2010-05-031-301/+90
| | | | | | | | | | PIPE_FORMAT_R10G10B10X2_USCALED, half floats, were not supported, so just rely on u_format for (almost) universal format support.
| * draw: Remove draw_pt_fetch_prepare call from llvm middle end.José Fonseca2010-05-031-12/+0
| | | | | | | | Unneeded since we code generate the vertex fecthes.
| * tgsi: Parse and dump predicates.José Fonseca2010-05-032-1/+63
| |
| * gallium: Remove loop register file.José Fonseca2010-05-039-44/+6
| | | | | | | | | | It was only used for D3D's REP/END/BGNFOR/ENDFOR. D3D's aL register is just like another address register now.
| * gallivm: Replace predicate assertion failure with warning message.José Fonseca2010-05-031-8/+6
| |
| * draw: Disable rtasm compilation when using LLVM.José Fonseca2010-05-031-6/+10
| | | | | | | | Saves time and trouble.
| * softpipe: invalidate cache view when swizzles are different.Dave Airlie2010-05-031-1/+15
| | | | | | | | | | | | | | | | Current code only invalidated if the texture was different, however we store swizzled values in the cache, so we need to invalidate in that case also. Signed-off-by: Dave Airlie <[email protected]>
| * gallivm: fix nested break and continue statementsZack Rusin2010-05-021-16/+6
| | | | | | | | | | | | | | we were resetting the mask on each new break/continue statement within the same scope. we always need to and the current execution mask with the current break/continue mask to get the correct result (the masks are always ~1 initially)
| * identity: Move sampler view create and destroy to id_objects.cJakob Bornecrantz2010-05-033-34/+67
| |
| * identity: s/texture/resource/Jakob Bornecrantz2010-05-032-21/+21
| |
| * identity: Whitespace & StyleJakob Bornecrantz2010-05-034-52/+52
| |
| * gallium/util: print \n after DXTn printfLuca Barbieri2010-05-031-2/+2
| | | | | | | | | | | | | | Re-add commit 2d65a7caf97684aa654088c76a74b632fbd685fa Signed-off-by: Xavier Chantry <[email protected]> Signed-off-by: José Fonseca <[email protected]>
| * llvmpipe: add lp_test_* to .gitignoreXavier Chantry2010-05-031-0/+4
| | | | | | | | | | Signed-off-by: Xavier Chantry <[email protected]> Signed-off-by: José Fonseca <[email protected]>
| * svga: Remove the screen private context.José Fonseca2010-05-0311-106/+63
| | | | | | | | | | | | All affected operations have already been moved to context. More cleanup work can be done, in particular with the buffer transfers.
| * svga: Remove empty file.José Fonseca2010-05-031-2/+0
| |
| * svga: Update flags documentation.José Fonseca2010-05-031-8/+5
| |