summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-05-03progs/demos: check for GL_ARB_imaging if convolutions is requestedBrian Paul1-0/+7
2010-05-03st/mesa: updated commentBrian Paul1-4/+5
2010-05-03glsl: change variable declared assertion into conditionalBrian Paul2-3/+2
The slang_variable::declared field originated as a debug field but can be promoted for use during sematic error checking. Fixes fd.o bug 27921. NOTE: this is a candidate for back-porting to the 7.8 stable branch.
2010-05-03Revert "glapi: s/strcpy/strncpy/"Brian Paul1-2/+1
This reverts commit 9446fd8f69564e09ffd0f28735a99c510f84bb62. It doesn't make sense to replace strcpy(a,b) with strncpy(a,b,strlen(b)). The preceeding code effectively does bounds checking, btw.
2010-05-03st/mesa: remove dead codeBrian Paul1-18/+0
2010-05-03st/mesa: restore original last_layer comparisonBrian Paul1-1/+1
Commit e648d4a1d1c0c5f70916e38366b863f0bec79a62 changed the original less-than test to a not-equal test. This was an effort to save some memory by switching the texture layout to a non-mipmapped layout when we mis-guessed about the original layout (thus saving some memory). However, this causes us to hit a new (apparently broken) code path when copying the old texture's data to the new texture. Simply undo this change for the time being until the other/new bug is fixed. Fixes fd.o bug 27933.
2010-05-03r300g: use util_format_short_name and util_format_is_plainMarek Olšák4-29/+17
2010-05-03util: add util_format_short_nameMarek Olšák1-0/+13
2010-05-03util: add util_format_is_plainMarek Olšák1-0/+15
2010-05-03r300g: refuse to create a texture with size 0Marek Olšák1-0/+11
2010-05-03r300g: improve texture debug output, split into TEX and TEXALLOC flagsMarek Olšák3-6/+22
2010-05-03Reorder LLVM passes, running mem2reg earlier.Török Edwin2-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 <edwintorok@gmail.com> Signed-off-by: José Fonseca <jfonseca@vmware.com>
2010-05-03svga: Silent warning.José Fonseca1-1/+1
2010-05-03Generate es glapi files when es1 or es2 is enabledKristian Høgsberg2-2/+11
2010-05-03gallivm: Display message instead of crashing when sampler generator was not ↵José Fonseca1-0/+8
supplied for tgsi translation.
2010-05-03driswrast: Fix more context creation breakageKristian Høgsberg1-1/+2
Pointed out by Colin Harrison.
2010-05-03translate: Make translate_generic truly generic.José Fonseca1-301/+90
PIPE_FORMAT_R10G10B10X2_USCALED, half floats, were not supported, so just rely on u_format for (almost) universal format support.
2010-05-03draw: Remove draw_pt_fetch_prepare call from llvm middle end.José Fonseca1-12/+0
Unneeded since we code generate the vertex fecthes.
2010-05-03tgsi: Parse and dump predicates.José Fonseca2-1/+63
2010-05-03gallium: Remove loop register file.José Fonseca9-44/+6
It was only used for D3D's REP/END/BGNFOR/ENDFOR. D3D's aL register is just like another address register now.
2010-05-03gallivm: Replace predicate assertion failure with warning message.José Fonseca1-8/+6
2010-05-03draw: Disable rtasm compilation when using LLVM.José Fonseca1-6/+10
Saves time and trouble.
2010-05-03nouveau: fix nouveau_create_context declerationDave Airlie1-1/+2
2010-05-03softpipe: invalidate cache view when swizzles are different.Dave Airlie1-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 <airlied@redhat.com>
2010-05-03glx: fix regression with GLX_USE_GLDave Airlie1-0/+3
update for fbconfig_style_tags
2010-05-02gallivm: fix nested break and continue statementsZack Rusin1-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)
2010-05-03identity: Move sampler view create and destroy to id_objects.cJakob Bornecrantz3-34/+67
2010-05-03identity: s/texture/resource/Jakob Bornecrantz2-21/+21
2010-05-03identity: Whitespace & StyleJakob Bornecrantz4-52/+52
2010-05-03swrast: Correct include for mtypes.hJakob Bornecrantz1-1/+1
2010-05-03gallium/util: print \n after DXTn printfLuca Barbieri1-2/+2
Re-add commit 2d65a7caf97684aa654088c76a74b632fbd685fa Signed-off-by: Xavier Chantry <chantry.xavier@gmail.com> Signed-off-by: José Fonseca <jfonseca@vmware.com>
2010-05-03llvmpipe: add lp_test_* to .gitignoreXavier Chantry1-0/+4
Signed-off-by: Xavier Chantry <chantry.xavier@gmail.com> Signed-off-by: José Fonseca <jfonseca@vmware.com>
2010-05-03svga: Remove the screen private context.José Fonseca11-106/+63
All affected operations have already been moved to context. More cleanup work can be done, in particular with the buffer transfers.
2010-05-03svga: Remove empty file.José Fonseca1-2/+0
2010-05-03svga: Update flags documentation.José Fonseca1-8/+5
2010-05-03softpipe: Fix alpha blending for formats without alpha channel.José Fonseca1-60/+108
Don't use the dst alpha channel from the tile cache when it does not exist in the true format.
2010-05-03llvmpipe: Fix alpha blending for formats without alpha channel.José Fonseca1-2/+51
Don't use the dst alpha channel from the swizzled tile when it does not exist in the true format.
2010-05-02Update drisw state tracker to use new API aware context createXavier Chantry2-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 <jakob@vmware.com> Signed-off-by: Xavier Chantry <chantry.xavier@gmail.com>
2010-05-02svga: Include svga_surface.h in svga_screen.c.Vinson Lee1-0/+1
Fixes svga_screen_init_surface_functions implicit declaration warning.
2010-05-02r300g: Remove unnecessary header.Vinson Lee1-1/+0
2010-05-02Update dri state tracker to use new API aware context createXavier Chantry2-2/+4
2010-05-02mesa: Include api_exec.h in dlist.c.Vinson Lee1-0/+1
Fixes _mesa_alloc_dispatch_table implicit declaration warning.
2010-05-02r300g: do not validate buffers in check_csMarek Olšák1-1/+1
It's already done in r300_emit_buffer_validate. This also fixes Total Annihilation 3D on debug builds at least.
2010-05-02r300g: fix surface_copy for compressed formatsMarek Olšák1-1/+2
No accelerated blitting for these, it's too messy.
2010-05-02configure.ac: Fix test for whether to build src/glesKristian Høgsberg1-1/+1
2010-05-02mesa: Include mfeatures.h before testing feature macrosKristian Høgsberg1-0/+2
2010-05-02mesa: Only compile ES files when ES1 or ES2 are selectedKristian Høgsberg3-6/+18
This still requieres manual generation of the es1 and es2 glapis and is disabled by default.
2010-05-02mesa: #ifdef out more remap_table related code when disabled.José Fonseca2-3/+6
Seems to get everything building again here.
2010-05-02retrace: Add sampler_view_destroyJosé Fonseca1-0/+7
2010-05-02trace: Fix typo in method name.José Fonseca1-1/+1