summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2010-08-15r300g: do not use HiZ if HiZ RAM is not properly initializedMarek Olšák
2010-08-15r300g: rename dirty_zmask -> zmask_in_useMarek Olšák
2010-08-15r300g: do not clear with blitter if we clear just the ZMask RAMMarek Olšák
This skips the blitter clear path entirely if the color is not cleared and the depth+stencil is cleared with the ZMask.
2010-08-15r300g: do not use fastfill if ZMask RAM is not properly initializedMarek Olšák
z_fastfill -> dirty_zmask[level].
2010-08-15r300g: separate num_cs_end_dwords out from prepare_for_renderingMarek Olšák
2010-08-14glsl: Include missing headers in slang_print.h.Vinson Lee
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.
2010-08-14glsl: Include missing headers in slang_compile_function.hVinson Lee
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.
2010-08-14glsl: Include missing headers in slang_compiler_operation.h.Vinson Lee
Include glheader.h for GL symbols. Include slang_compile_variable.h for slang_variable_scope symbol. Include slang_utility.h for slang_atom symbol.
2010-08-14glsl: Include missing headers in slang_simplify.h.Vinson Lee
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.
2010-08-14glsl: Include missing header in slang_utility.h.Vinson Lee
Include glheader.h for GL symbols.
2010-08-14glsl: Include missing headers in slang_vartable.h.Vinson Lee
Include glheader.h for GL symbols. Include slang_utility.h for slang_atom symbol.
2010-08-15gallium/docs: Add rbug to distributionJakob Bornecrantz
2010-08-15gallium/docs: Add a debugging sectionJakob Bornecrantz
2010-08-15gallium: Make printing info on debug builds default offJakob Bornecrantz
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.
2010-08-14glsl: Include missing header in slang_log.h.Vinson Lee
Include glheader.h for GLboolean symbol.
2010-08-14glsl: Include missing headers in slang_compile_variable.h.Vinson Lee
Include glheader.h for GL symbols. Include slang_typeinfo.h for slang_fully_specified_type symbol. Include slang_utility.h for slang_atom symbol.
2010-08-14glsl: Clean up header file inclusion in slang_codegen.h.Vinson Lee
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.
2010-08-14gallivm: Remove unnecessary header.Vinson Lee
2010-08-14scons: Fix r600g build.Vinson Lee
2010-08-14r600g: Remove unnecessary headers.Vinson Lee
2010-08-14r300g: Remove unnecessary header.Vinson Lee
2010-08-14u_cpu_detect: remove arch and little_endianLuca Barbieri
This logic duplicates the one in p_config.h, so remove it and adjust the only two places that were using it.
2010-08-14gallivm: Refactor the Newton-Rapshon steps, and disable once again.José Fonseca
It causes a very ugly corruption on the Earth's halo on Google Earth.
2010-08-14Revert "glsl2: Use stdint.h instead of inttypes.h"José Fonseca
This reverts commit a77a6bc008b3146c56431fa520a00e1f8dfa3938.
2010-08-14glsl: Standardize a few more uses of struct vs class keyword.José Fonseca
2010-08-14scons: Link talloc.José Fonseca
2010-08-14glsl: Silence gcc warning "control reaches end of non-void function".José Fonseca
2010-08-14mesa: Silence gcc warning "control reaches end of non-void function".José Fonseca
2010-08-14mesa: Silence gcc warning "missing initializer for member".José Fonseca
2010-08-14mesa: Recent versions of MSVC define the single precision functions already.José Fonseca
2010-08-14scons: Add new source files.José Fonseca
2010-08-14mesa: atan2f and powf need two args.José Fonseca
2010-08-14glsl: Clean up header file inclusion in slang_builtin.h.Vinson Lee
Remove prog_parameter.h and slang_utility.h. Include glheader.h for GL symbols. Include mtypes.h for gl_*_result symbols.
2010-08-14glsl: Clean up header file inclusion.Vinson Lee
2010-08-14glsl: Include missing header in slang_compile.c.Vinson Lee
Include sl_pp_purify.h for sl_pp_purify_options symbol.
2010-08-14glsl/cl: Add forward declaration.Vinson Lee
2010-08-13Merge branch 'master' into glsl2Ian Romanick
2010-08-13mesa: Work-arounds for platforms that lack C99 math functionsIan Romanick
2010-08-13glsl2/Makefile: Add a 'make builtins' target.Kenneth Graunke
This copies over a dummy builtin_functions.cpp and rebuilds a bootstrapped version of the compiler, then uses that to generate the proper list of builtins. Finally, it rebuilds the compiler with the new list. Unfortunately, it's no longer automatic, but at least it works.
2010-08-13glsl2: Rework builtin function generation.Kenneth Graunke
Each language version/extension and target now has a "profile" containing all of the available builtin function prototypes. These are written in GLSL, and come directly out of the GLSL spec (except for expanding genType). A new builtins/ir/ folder contains the hand-written IR for each builtin, regardless of what version includes it. Only those definitions that have prototypes in the profile will be included. The autogenerated IR for texture builtins is no longer written to disk, so there's no longer any confusion as to what's hand-written or generated. All scripts are now in python instead of perl.
2010-08-13ir_reader: Don't mark functions as defined if their body is empty.Kenneth Graunke
2010-08-13glsl2: Commit generated file change by commit ab18be74Ian Romanick
This would have been included in commit 23f6017d, but make wisely did not regenerate the file when the .lpp file did not change.
2010-08-13glsl2: Add a pass to strip out noop swizzles.Eric Anholt
With the glsl2-965 branch, the optimization of glsl-algebraic-rcp-rcp regressed due to noop swizzles hiding information from ir_algebraic. This cleans up those noop swizzles for us.
2010-08-13glsl2: Convert ir_constant_propagation to ir_rvalue_visitor.Eric Anholt
This one is a little tricky because of the LHS handling.
2010-08-13glsl2: Add a generic visitor class to call back with pointers to each rvalue.Eric Anholt
I keep copy and pasting this code all over, so consolidate it in one place.
2010-08-13mesa: Avoid using c++ keyword in dri_util.h when compiled with c++.Eric Anholt
2010-08-13intel: Remove include of texmem.h, since we haven't used it in ages.Eric Anholt
2010-08-13glsl2: Move ir_to_mesa handling to driver CompileShader and LinkShader hooks.Eric Anholt
This lets drivers override ir_to_mesa with their own codegen, or at least have a native alternative.
2010-08-13glsl2: Add support for ir_unop_neg to ir_mat_op_to_vecEric Anholt
2010-08-13glsl2: Move the common optimization passes to a helper function.Eric Anholt
These are passes that we expect all codegen to be happy with. The other lowering passes for Mesa IR are moved to the Mesa IR generator.