Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-05-05 | gallium: still more provoking vertex fixes | Brian Paul | |
This fixes edge flags for polygons and provoking vertex for filled quads. | |||
2010-05-05 | gallium: added edge flag print/debug code (disabled) | Brian Paul | |
2010-05-05 | gallium: rename draw() to draw_elements() in vbuf code | Brian Paul | |
Now we have draw_elements() and draw_arrays() to be consistent with the pipe_context drawing functions. | |||
2010-05-05 | llvmpipe: update driver's provoking vertex code | Brian Paul | |
Note that the lp_setup_vbuf.c code is very, very similar to the corresponding code in softpipe. It could probably be shared. | |||
2010-05-05 | gallium: rework provoking vertex code | Brian Paul | |
Builds on commit ddb0e18f6c5582d4d2cc59ffd16ad9c4639ed059 and fixes regressions in glean clipFlat test. We assume that Gallium drivers observe flatshade_first for all triangles and that all the assorted per-triangle calls in the 'draw' module also follow flatshade_first. Everything else builds on those rules. Gallium does not use follow flatshade_first for GL quads, quad strips and polygons; the "last" vertex is always the provoking vertex for those prims. So now there are separate QUAD_FIRST_PV and QUAD_LAST_PV macros in the draw primitive decomposition code instead of one QUAD macro. | |||
2010-05-05 | tgsi: make dumping work on non-debug builds | Marek Olšák | |
2010-05-05 | llvmpipe: added a new assertion as a hint to Coverity | Brian Paul | |
Looks like coverity found a false positive for an out of bounds array write. | |||
2010-05-05 | nouveau: only advertise PIPE_FORMAT_DXT* if s3tc available | Xavier Chantry | |
2010-05-05 | graw-xlib: Revert the output dir lib change. | José Fonseca | |
2010-05-04 | svga: Remove unnecessary header. | Vinson Lee | |
2010-05-04 | draw: Remove unnecessary header. | Vinson Lee | |
2010-05-04 | util: Remove unnecessary headers. | Vinson Lee | |
2010-05-04 | llvmpipe: Remove unnecessary headers. | Vinson Lee | |
2010-05-04 | r300g: Fix memory leak on error path. | Vinson Lee | |
2010-05-04 | gallium: remove trailing comma in enum list | Brian Paul | |
2010-05-04 | llvmpipe: predicate LLVMDumpModule() on DEBUG_JIT | Brian Paul | |
2010-05-05 | tests/raw: Get it building with scons. | José Fonseca | |
2010-05-05 | draw: Preserve the provoking vertex both when decomposing and clipping. | José Fonseca | |
Based on John Lawless' feedback. | |||
2010-05-05 | draw: Adjust wideline vertex coords for D3D. | Brian Paul | |
2010-05-04 | llvmpipe: fix broken compressed cube maps | Brian Paul | |
When the cube faces were stored in a compressed format, the img_stride values were wrong and didn't match the per-face size computed in the tex_image_face_size() function. This caused bad rendering or segfaults. | |||
2010-05-04 | gallium/util: added is_format_compressed() | Brian Paul | |
2010-05-04 | llvmpipe: do some null pointer checking | Brian Paul | |
2010-05-04 | llvmpipe: add some tests for malloc() returning NULL. | Brian Paul | |
Start propogating NULL pointers from allocation functions and checks for NULL in the callers... | |||
2010-05-04 | r300g: advertise S3TC only when it's available in Gallium | Marek Olšák | |
2010-05-04 | u_blitter: fix creating fragment shaders | Wiktor Janas | |
See FDO bug #27887. Signed-off-by: Marek Olšák <maraeo@gmail.com> | |||
2010-05-04 | gallivm: Proper implementation of TXL opcode. | José Fonseca | |
2010-05-04 | gallivm: Fix several glitches introduced in the prev commit. | José Fonseca | |
2010-05-04 | gallivm: Implement TXD. | José Fonseca | |
2010-05-03 | gallium: move surface utility functions into u_surface.c | Brian Paul | |
This is a better place than in u_rect.c | |||
2010-05-04 | gallivm: Increase the TGSI translation limits and centralize them in a header. | José Fonseca | |
2010-05-04 | gallicm: Newton-Raphson step to improve precision. | José Fonseca | |
Disabled as it doesn't make VS/PSPrecision DCT happy, and it would unnecessarily slow some cases where it is not needed. | |||
2010-05-03 | cso: use framebuffer utility functions | Brian Paul | |
2010-05-03 | gallium: move framebuffer utility functions into a new file | Brian Paul | |
2010-05-03 | r300g: use util_format_short_name and util_format_is_plain | Marek Olšák | |
2010-05-03 | util: add util_format_short_name | Marek Olšák | |
2010-05-03 | util: add util_format_is_plain | Marek Olšák | |
2010-05-03 | r300g: refuse to create a texture with size 0 | Marek Olšák | |
2010-05-03 | r300g: improve texture debug output, split into TEX and TEXALLOC flags | Marek Olšák | |
2010-05-03 | Reorder LLVM passes, running mem2reg earlier. | Török Edwin | |
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-03 | svga: Silent warning. | José Fonseca | |
2010-05-03 | gallivm: Display message instead of crashing when sampler generator was not ↵ | José Fonseca | |
supplied for tgsi translation. | |||
2010-05-03 | translate: Make translate_generic truly generic. | José Fonseca | |
PIPE_FORMAT_R10G10B10X2_USCALED, half floats, were not supported, so just rely on u_format for (almost) universal format support. | |||
2010-05-03 | draw: Remove draw_pt_fetch_prepare call from llvm middle end. | José Fonseca | |
Unneeded since we code generate the vertex fecthes. | |||
2010-05-03 | tgsi: Parse and dump predicates. | José Fonseca | |
2010-05-03 | gallium: Remove loop register file. | José Fonseca | |
It was only used for D3D's REP/END/BGNFOR/ENDFOR. D3D's aL register is just like another address register now. | |||
2010-05-03 | gallivm: Replace predicate assertion failure with warning message. | José Fonseca | |
2010-05-03 | draw: Disable rtasm compilation when using LLVM. | José Fonseca | |
Saves time and trouble. | |||
2010-05-03 | softpipe: invalidate cache view when swizzles are different. | Dave Airlie | |
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-02 | gallivm: fix nested break and continue statements | Zack Rusin | |
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-03 | identity: Move sampler view create and destroy to id_objects.c | Jakob Bornecrantz | |