Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-08-13 | glsl2: 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-13 | glsl2: Convert ir_constant_propagation to ir_rvalue_visitor. | Eric Anholt | |
This one is a little tricky because of the LHS handling. | |||
2010-08-13 | glsl2: 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-13 | mesa: Avoid using c++ keyword in dri_util.h when compiled with c++. | Eric Anholt | |
2010-08-13 | intel: Remove include of texmem.h, since we haven't used it in ages. | Eric Anholt | |
2010-08-13 | glsl2: 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-13 | glsl2: Add support for ir_unop_neg to ir_mat_op_to_vec | Eric Anholt | |
2010-08-13 | glsl2: 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. | |||
2010-08-13 | glsl2: Refresh autogenerated bison parser. | Kenneth Graunke | |
2010-08-13 | Fix an MSVC build error (bugzilla 29570). | Vinson Lee | |
2010-08-13 | glsl2: Remove unnecessary use of 'struct' before type names | Ian Romanick | |
In C++ you don't have to say 'struct' or 'class' if the declaration of the type has been seen. Some compilers will complain if you use 'struct' when 'class' should have been used and vice versa. Fixes bugzilla #29539. | |||
2010-08-13 | Add missing intmax_t and uintmax_t | Ian Romanick | |
2010-08-13 | glsl2: Use stdint.h instead of inttypes.h | Ian Romanick | |
2010-08-13 | mesa: assorted clean-ups, var type changes, assertions in prog_optimize.c | Brian Paul | |
2010-08-13 | mesa: more/better program optimizations | Benjamin Segovia | |
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 <brianp@vmware.com> | |||
2010-08-13 | glsl2: Commit generated file changed by previous commit | Ian Romanick | |
2010-08-13 | glsl2: Use --nounistd to fix MSVC build | Ian Romanick | |
Also remove the --never-interactive command line option for the preprocessor lexer. This was already done for main compiler lexer. | |||
2010-08-13 | linker: Assign attrib location 0 if gl_Vertex is not used | Ian Romanick | |
If gl_Vertex is not used in the shader, then attribute location 0 is available for use. Fixes piglit test case glsl-getattriblocation (bugzilla #29540). | |||
2010-08-13 | st/dri: make dri_drawable_validate_att static | George Sapountzis | |
2010-08-13 | st/dri: move TFP code to dri_drawable.c | George Sapountzis | |
This is based on a patch by nobled <nobled@dreamwidth.org> 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. | |||
2010-08-13 | st/dri: Fix segmentation fault in sw drivers | nobled | |
2010-08-13 | st/dri: dri_drawable_get_format is shared between DRI2 and DRISW | George Sapountzis | |
2010-08-13 | glsl2: Include string.h in preprocessor | Jakob Bornecrantz | |
2010-08-13 | glsl2: Commit generated files changed by previous two commits | Ian Romanick | |
2010-08-13 | glsl2: Avoid token name collisions with names used by Windows header files | Ian Romanick | |
2010-08-13 | glsl2: Eliminate tokens for square matrix short names | Ian Romanick | |
MAT2 and MAT2X2, for example, are treated identically by the parser. The language version based error checking (becuase mat2x2 is not available in GLSL 1.10) is already done in the lexer. | |||
2010-08-13 | scons: Build the new glsl2 code. | José Fonseca | |
2010-08-13 | talloc: Make it compile with MSVC, MinGW, and Xcode/gcc4.0. | José Fonseca | |
Based on Aras Pranckevičius' patch. | |||
2010-08-13 | talloc: Import 2.0.1 code. | José Fonseca | |
2010-08-13 | mesa: Clean up header file inclusion in vf.h. | Vinson Lee | |
Remove mtypes.h. Include glheader.h for GL symbols. | |||
2010-08-13 | swrast: Clean up header file inclusion in ss_vb.h. | Vinson Lee | |
Remove unnecessary header swrast_setup.h. | |||
2010-08-12 | swrast: Clean up header file inclusion in ss_triangle.h. | Vinson Lee | |
Remove ss_context.h. Include mtypes.h for GLcontext symbol. | |||
2010-08-12 | swrast: Clean up header file inclusion in ss_context.h. | Vinson Lee | |
Remove mtypes.h and swrast_setup.h. Include glheader.h for GL symbols. | |||
2010-08-12 | mesa: Include missing header in programopt.h. | Vinson Lee | |
Include mtypes.h for GLcontext and gl_register_file symbols. | |||
2010-08-13 | r300g: do not support separate depth/stencil clear in the driver | Marek Olšák | |
It doesn't work well with Hyper-Z, so put the burden on the state tracker. | |||
2010-08-13 | r300g: fix fastfill when color and Z clear are invoked separately | Marek Olšák | |
This always restores the previous depth clear value after CBZB clear. | |||
2010-08-13 | r600g: update shader caps | Marek Olšák | |
Sent on ML by Владимир. These values are what fglrx returns. | |||
2010-08-12 | glsl2: Use MIN2 from macros.h instead of open coding it | Ian Romanick | |
2010-08-13 | r300g: disable depth clamp for now | Marek Olšák | |
It breaks Regnum Online in that it renders random triangles all over the screen. https://bugs.freedesktop.org/show_bug.cgi?id=29518 | |||
2010-08-12 | mesa: fpclassify is available with MinGW. | Vinson Lee | |
This patch fixes the MinGW build. | |||
2010-08-13 | r600g: fix warning in the winsys | Dave Airlie | |
2010-08-13 | r600g: fix memory leaks running gears. | Dave Airlie | |
I noticed gears memory usage was heading skywards, some r600 "states" aren't properly refcounted, and the ctx->state is never freed. | |||
2010-08-12 | translate_test: Fix compilation with MSVC. | Vinson Lee | |
2010-08-12 | scons: Add main/querymatrix.c to SCons build. | Vinson Lee | |
Commit 87eb66775949af6e9512daf7e4665c1cfa6b8745 added querymatrix.c to make but not to SCons. | |||
2010-08-12 | glsl2: Use Elements from main/compiler.h instead of open-coding | Ian Romanick | |
2010-08-12 | glsl: print to stderr like other program printing code | Brian Paul | |
2010-08-12 | mesa: check for null shader->InfoLog before printing | Brian Paul | |
2010-08-12 | mesa: Fix FreeBSD build with llvm enabled. | Vinson Lee | |
On FreeBSD LC_CTYPE_MASK is not available but 'llvm-config --cppflags' adds the compiler flag -D_GNU_SOURCE to the build. | |||
2010-08-12 | translate_test: fix compilation on non-POSIX platforms | Luca Barbieri | |
Use a kludgy function based on rand() instead of drand48() | |||
2010-08-12 | glsl2: Commit generated file changed by previous commit | Ian Romanick | |