summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Generate es glapi files when es1 or es2 is enabledKristian Høgsberg2010-05-032-2/+11
|
* gallivm: Display message instead of crashing when sampler generator was not ↵José Fonseca2010-05-031-0/+8
| | | | supplied for tgsi translation.
* driswrast: Fix more context creation breakageKristian Høgsberg2010-05-031-1/+2
| | | | Pointed out by Colin Harrison.
* 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.
* nouveau: fix nouveau_create_context declerationDave Airlie2010-05-031-1/+2
|
* 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]>
* glx: fix regression with GLX_USE_GLDave Airlie2010-05-031-0/+3
| | | | update for fbconfig_style_tags
* 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
|
* swrast: Correct include for mtypes.hJakob Bornecrantz2010-05-031-1/+1
|
* 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
|
* softpipe: Fix alpha blending for formats without alpha channel.José Fonseca2010-05-031-60/+108
| | | | | Don't use the dst alpha channel from the tile cache when it does not exist in the true format.
* llvmpipe: Fix alpha blending for formats without alpha channel.José Fonseca2010-05-031-2/+51
| | | | | Don't use the dst alpha channel from the swizzled tile when it does not exist in the true format.
* Update drisw state tracker to use new API aware context createXavier Chantry2010-05-022-2/+6
| | | | | | | | | Even though swrast defines its own __DriverAPIRec it still shares the driCreateNewContext() implementation from dri_util.c. So the CreateContext prototypes have to match in the two __DriverAPIRecs. Reviewed-by: Jakob Bornecrantz <[email protected]> Signed-off-by: Xavier Chantry <[email protected]>
* svga: Include svga_surface.h in svga_screen.c.Vinson Lee2010-05-021-0/+1
| | | | Fixes svga_screen_init_surface_functions implicit declaration warning.
* r300g: Remove unnecessary header.Vinson Lee2010-05-021-1/+0
|
* Update dri state tracker to use new API aware context createXavier Chantry2010-05-022-2/+4
|
* mesa: Include api_exec.h in dlist.c.Vinson Lee2010-05-021-0/+1
| | | | Fixes _mesa_alloc_dispatch_table implicit declaration warning.
* r300g: do not validate buffers in check_csMarek Olšák2010-05-021-1/+1
| | | | | It's already done in r300_emit_buffer_validate. This also fixes Total Annihilation 3D on debug builds at least.
* r300g: fix surface_copy for compressed formatsMarek Olšák2010-05-021-1/+2
| | | | No accelerated blitting for these, it's too messy.
* configure.ac: Fix test for whether to build src/glesKristian Høgsberg2010-05-021-1/+1
|
* mesa: Include mfeatures.h before testing feature macrosKristian Høgsberg2010-05-021-0/+2
|
* mesa: Only compile ES files when ES1 or ES2 are selectedKristian Høgsberg2010-05-023-6/+18
| | | | | This still requieres manual generation of the es1 and es2 glapis and is disabled by default.
* mesa: #ifdef out more remap_table related code when disabled.José Fonseca2010-05-022-3/+6
| | | | Seems to get everything building again here.
* retrace: Add sampler_view_destroyJosé Fonseca2010-05-021-0/+7
|
* trace: Fix typo in method name.José Fonseca2010-05-021-1/+1
|
* Merge branch 'gles2-2'Kristian Høgsberg2010-05-0299-4257/+5042
|\ | | | | | | | | Conflicts: src/mesa/drivers/dri/common/dri_util.h
| * Hook in install rules for es1 and es2Kristian Høgsberg2010-05-023-0/+12
| |
| * Add glesv2.pc and glesv1_cm.pc pkg-config files for ES 1 and 2Kristian Høgsberg2010-05-023-7/+26
| |
| * st/mesa: Create context for API_OPENGL as first priorityKristian Høgsberg2010-05-021-4/+4
| |
| * gles: Build libGLESv1_CM.so and libGLESv2.so from glapi filesKristian Høgsberg2010-04-284-0/+118
| |
| * intel: Only register ES2 extensions for ES2 contextsKristian Høgsberg2010-04-287-2/+108
| |
| * configure.ac: Add options to enable GLES1/2 API supportKristian Høgsberg2010-04-284-0/+34
| |
| * intel: Advertise GLES1/2 for i915+ when enabledKristian Høgsberg2010-04-281-0/+12
| |
| * dri: Add DRI entrypoints to create a context for a given APIKristian Høgsberg2010-04-288-13/+22
| |