summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* r300/compiler: fix allocation of temporaries in radeonTransformTEXMarek Olšák2010-08-161-2/+6
|
* llvmpipe: special case triangles which fall in a single 16x16 blockKeith Whitwell2010-08-153-0/+106
| | | | | Check for these and route them to a dedicated handler with one fewer levels of recursive rasterization.
* llvmpipe: consolidate several loops in lp_rast_triangleKeith Whitwell2010-08-151-18/+15
|
* llvmpipe: remove all traces of step arrays, pos_tablesKeith Whitwell2010-08-153-114/+0
| | | | | No need to calculate these values any longer, nor to store them in the bin data. Improves isosurf a bit more, 115->123 fps.
* llvmpipe: eliminate last usage of step array in rast_tmp.hKeith Whitwell2010-08-152-16/+57
| | | | | | | | | | | | For 16 and 64 pixel levels, calculate a mask which is linear in x and y (ie not in the swizzle layout). When iterating over full and partial masks, figure out position by manipulating the bit number set in the mask, rather than relying on postion arrays. Similarly, calculate the lower-level c values from dcdx, dcdy and the position rather than relying on the step array.
* llvmpipe: don't refer to plane->step when dcdx or dcdy would doKeith Whitwell2010-08-151-6/+6
|
* llvmpipe: also use build_mask at 16, 64 pixel levelsKeith Whitwell2010-08-151-28/+19
|
* llvmpipe: version of block4 which doesn't need the full step arrayKeith Whitwell2010-08-152-7/+27
| | | | No noticable slowdown with isosurf.
* llvmpipe: reorganize block4 loop, nice speedupKeith Whitwell2010-08-152-12/+19
| | | | | isosurf 95->115 fps just by exchanging the two inner loops in this function...
* gallium/docs: Cleanup debugging. Spelling, grammar, organization.Corbin Simpson2010-08-151-25/+30
|
* gallium/docs: Add formatting for envvar role; change debugging.Corbin Simpson2010-08-154-30/+44
| | | | | Per Jakob's request. Not super-pretty, but it's a good point for modding later.
* glsl: Fix self inclusion in slang_compile_function.h.Vinson Lee2010-08-151-1/+0
| | | | | Fix self inclusion introduced by commit 4fef77c7c5455b983daa93cacf90d2b3baa3967e.
* glsl: Include missing header in slang_ir.h.Vinson Lee2010-08-151-0/+1
| | | | Include prog_instruction.h for gl_inst_opcode symbol.
* glsl: Clean up header file inclusion in slang_link.h.Vinson Lee2010-08-151-1/+1
| | | | | Remove slang_compile.h. Include mtypes.h for GLcontext symbol.
* glsl: Clean up header file inclusion in slang_label.h.Vinson Lee2010-08-152-3/+4
| | | | | | Move mtypes.h and prog_instruction.h to slang_label.c. Remove imports.h. Include glheader.h from GL symbols.
* r300g: mark HiZ/ZMask_clear atoms as non-dirty after emission in clearMarek Olšák2010-08-151-1/+4
|
* glsl: Clean up header file inclusion in slang_emit.h.Vinson Lee2010-08-141-4/+2
| | | | | | | | Remove imports.h. Remove mtypes.h. Remove slang_compile.h. Include glheader.h for GL symbols. Include slang_vartable.h for slang_var_table symbol.
* glsl: Clean up header file inclusion in slang_compile.h.Vinson Lee2010-08-141-5/+6
| | | | | | | | Remove imports.h. Remove slang_typeinfo.h. Remove slang_compile_operation.h. Include glheader.h for GL symbols. Include slang_utility.h for slang_atom_pool symbol.
* glsl: Include missing headers in slang_compile_struct.h.Vinson Lee2010-08-141-0/+3
| | | | | Include glheader.h for GL symbols. Include slang_utility.h for slang_atom symbol.
* r300g: do not use HiZ if HiZ RAM is not properly initializedMarek Olšák2010-08-155-18/+23
|
* r300g: rename dirty_zmask -> zmask_in_useMarek Olšák2010-08-155-13/+13
|
* r300g: do not clear with blitter if we clear just the ZMask RAMMarek Olšák2010-08-151-9/+37
| | | | | This skips the blitter clear path entirely if the color is not cleared and the depth+stencil is cleared with the ZMask.
* r300g: do not use fastfill if ZMask RAM is not properly initializedMarek Olšák2010-08-154-18/+31
| | | | z_fastfill -> dirty_zmask[level].
* r300g: separate num_cs_end_dwords out from prepare_for_renderingMarek Olšák2010-08-153-24/+25
|
* glsl: Include missing headers in slang_print.h.Vinson Lee2010-08-141-0/+6
| | | | | | | | Include glheader.h for GL symbols. Include slang_compile_function.h for slang_function symbol. Include slang_compile_operation.h for slang_operation symbol. Include slang_compile_variable.h for slang_variable and slang_variable_scope symbols. Include slang_typeinfo.h for slang_type_qualifer and slang_fully_specified_type symbols.
* glsl: Include missing headers in slang_compile_function.hVinson Lee2010-08-141-0/+9
| | | | | | | | | | Include glheader.h for GL symbols. Include slang_compile_function.h for slang_function symbol. Include slang_compile_operation.h for slang_operation symbol. Include slang_compile_variable.h for slang_variable and slang_variable_scope symbols. Include slang_log.h for slang_info_log symbols. Include slang_utility.h for slang_atom and slang_atom_pool symbols.
* glsl: Include missing headers in slang_compiler_operation.h.Vinson Lee2010-08-141-0/+4
| | | | | | Include glheader.h for GL symbols. Include slang_compile_variable.h for slang_variable_scope symbol. Include slang_utility.h for slang_atom symbol.
* glsl: Include missing headers in slang_simplify.h.Vinson Lee2010-08-141-0/+7
| | | | | | | | | Include glheader.h for GL symbols. Include slang_compile.h for slang_name_space symbol. Include slang_compile_function.h for slang_function symbol. Include slang_compile_operation.h for slang_operation symbol. Include slang_log.h for slang_info_log symbol. Include slang_utility.h for slang_atom_pool symbol.
* glsl: Include missing header in slang_utility.h.Vinson Lee2010-08-141-0/+2
| | | | Include glheader.h for GL symbols.
* glsl: Include missing headers in slang_vartable.h.Vinson Lee2010-08-141-0/+3
| | | | | Include glheader.h for GL symbols. Include slang_utility.h for slang_atom symbol.
* gallium/docs: Add rbug to distributionJakob Bornecrantz2010-08-151-0/+5
|
* gallium/docs: Add a debugging sectionJakob Bornecrantz2010-08-152-0/+97
|
* gallium: Make printing info on debug builds default offJakob Bornecrantz2010-08-154-4/+4
| | | | | | | This commit silences the printing off most of the debug information when running debug builds. The big culprits are: the tgsi sanity checker that gets run on all shaders on debug; all the options; and finaly the cpu caps printer.
* glsl: Include missing header in slang_log.h.Vinson Lee2010-08-141-0/+2
| | | | Include glheader.h for GLboolean symbol.
* glsl: Include missing headers in slang_compile_variable.h.Vinson Lee2010-08-141-1/+3
| | | | | | Include glheader.h for GL symbols. Include slang_typeinfo.h for slang_fully_specified_type symbol. Include slang_utility.h for slang_atom symbol.
* glsl: Clean up header file inclusion in slang_codegen.h.Vinson Lee2010-08-141-1/+5
| | | | | | | | Remove mtypes.h. Include glheader.h for GL symbols. Include slang_compile_variable.h for slang_variable symbol. Include slang_typeinfo.h for slang_type_specifier symbol. Include slang_utility.h for slang_atom_pool symbol.
* gallivm: Remove unnecessary header.Vinson Lee2010-08-141-1/+0
|
* scons: Fix r600g build.Vinson Lee2010-08-142-1/+26
|
* r600g: Remove unnecessary headers.Vinson Lee2010-08-142-2/+0
|
* r300g: Remove unnecessary header.Vinson Lee2010-08-141-1/+0
|
* u_cpu_detect: remove arch and little_endianLuca Barbieri2010-08-144-35/+9
| | | | | This logic duplicates the one in p_config.h, so remove it and adjust the only two places that were using it.
* gallivm: Refactor the Newton-Rapshon steps, and disable once again.José Fonseca2010-08-141-28/+83
| | | | It causes a very ugly corruption on the Earth's halo on Google Earth.
* glsl: Clean up header file inclusion in slang_builtin.h.Vinson Lee2010-08-141-2/+2
| | | | | | Remove prog_parameter.h and slang_utility.h. Include glheader.h for GL symbols. Include mtypes.h for gl_*_result symbols.
* glsl: Clean up header file inclusion.Vinson Lee2010-08-1424-21/+33
|
* glsl: Include missing header in slang_compile.c.Vinson Lee2010-08-141-0/+1
| | | | Include sl_pp_purify.h for sl_pp_purify_options symbol.
* glsl/cl: Add forward declaration.Vinson Lee2010-08-141-0/+2
|
* mesa: assorted clean-ups, var type changes, assertions in prog_optimize.cBrian Paul2010-08-131-30/+63
|
* mesa: more/better program optimizationsBenjamin Segovia2010-08-131-219/+385
| | | | | | | This is the patch from Benjamin's Aug 11, 2010 email with minor fixes (such as moving declarations before code) Signed-off-by: Brian Paul <[email protected]>
* st/dri: make dri_drawable_validate_att staticGeorge Sapountzis2010-08-132-7/+2
|
* st/dri: move TFP code to dri_drawable.cGeorge Sapountzis2010-08-133-52/+55
| | | | | | | | | | | | | | | | | | | | This is based on a patch by nobled <[email protected]> and allows the TFP extension to be enabled for DRISW also. This patch does not enable TFP for DRISW though, because testing on xephyr segfaults here (for both classic and gallium): Program received signal SIGSEGV, Segmentation fault. 0x00786a4a in _mesa_GenTextures (n=1, textures=0xbfffee4c) at main/texobj.c:788 788 ASSERT_OUTSIDE_BEGIN_END(ctx); (gdb) (gdb) where \#0 0x00786a4a in _mesa_GenTextures (n=1, textures=0xbfffee4c) at main/texobj.c:788 \#1 0x0817a004 in __glXDisp_GenTextures () \#2 0x08168498 in __glXDispatch () \#3 0x0808b6ce in Dispatch () \#4 0x08084435 in main () The TFP code is generic except for the teximage call. We need to verify that DRISW correclty implements whatever hook teximage finally calls.