Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-08-24 | glsl: Set up uniform initializers by walking the shaders after linking. | Eric Anholt | |
Previously, uniform initializers were handled by ir_to_mesa as it made its Parameters list. However, uniform values are global to all shaders, and the value set in one Parameters list wasn't propagated to the other gl_program->Parameters lists. By going back through the general Mesa uniform handling, we make sure that all gl_programs get updated values, and also successfully separate uniform initializer handling from ir_to_mesa gl_program generation. Fixes: glsl-uniform-initializer-5. | |||
2010-08-24 | mesa: added isblank() for MSVC | Brian Paul | |
2010-08-24 | mesa: Remove extraneous semicolon. | Chia-I Wu | |
2010-08-24 | mesa: Add core.h. | Chia-I Wu | |
core.h is the public header of core mesa. GLX, WGL, and GLSL are supposed to include this header file. It should be noted that headers included by core.h must not perform feature tests (#if FEATURE_xxx). Otherwise, we cannot, for example, mix a FEATURE_ES2 libmesagallium.a with a FEATURE_GL libglsl.a. | |||
2010-08-23 | glsl2: Include imports.h to get snprintf wrapper for MSVC | Ian Romanick | |
Signed-off-by: José Fonseca <jfonseca@vmware.com> | |||
2010-08-23 | mesa: Fix msvc build of glsl. | Aras Pranckevicius | |
Signed-off-by: José Fonseca <jfonseca@vmware.com> | |||
2010-08-23 | mesa: Don't add 1 to GL_ACTIVE_UNIFORM_MAX_LENGTH. | Eric Anholt | |
Fixes: glsl-getactiveuniform-length. | |||
2010-08-23 | mesa: Assorted fixes for es_generator.py on win32. | Chia-I Wu | |
Fix mixed use of GL_APIENTRY and GLAPIENTRY. Parameter list of a function prototype should never be empty. | |||
2010-08-22 | mesa: use driver hook for creating new renderbuffers | Brian Paul | |
2010-08-20 | mesa: Fix GetUniformLocation while compiling display lists. | Nick Bowler | |
This function was apparently missing from the display list dispatch table, causing the generic no-op function to be called instead. To make matters worse, the no-op function is indistinguishable from a successful call to GetUniformLocation. GL specifies that GetUniformLocation is executed immediately when compiling display lists. Fixes fdo bug 29622. Signed-off-by: Nick Bowler <nbowler@draconx.ca> | |||
2010-08-20 | mesa: Decorate functions with GL_APIENTRY in es_generator.py. | Chia-I Wu | |
Note that GLES headers use GL_APIENTRY, not GLAPIENTRY. | |||
2010-08-20 | mesa: Include compiler.h for ASSERT. | Chia-I Wu | |
mfeatures.h defines ASSERT_NO_FEATURE to ASSERT, which is defined in compiler.h. Header files using the macro should include compiler.h. | |||
2010-08-19 | mesa: Silence uninitialized variable warnings in dummy_enum_func. | Vinson Lee | |
2010-08-18 | mesa: Remove unnecessary heaaders from shaderapi.c. | Vinson Lee | |
2010-08-18 | mesa: fpclassify is available on OpenSolaris. | Vinson Lee | |
There is no explicit predefined macro to distinguish between OpenSolaris and Solaris. This patch assumes that the difference is in the compilers. OpenSolaris uses GCC and not the Sun Studio compiler. Assume that the availability of fpclassify is due to GCC. This patch was not tested on Solaris. It would break the build on Solaris with GCC if GCC on Solaris does not have fpclassify. | |||
2010-08-18 | mesa: Free linked shaders when deleting the shader program. | Eric Anholt | |
2010-08-16 | Merge branch 'glsl2' | Ian Romanick | |
Conflicts: src/mesa/program/prog_optimize.c | |||
2010-08-15 | mesa: Check that _XOPEN_SOURCE is defined before using it. | Vinson Lee | |
2010-08-14 | mesa: Recent versions of MSVC define the single precision functions already. | José Fonseca | |
2010-08-14 | mesa: atan2f and powf need two args. | José Fonseca | |
2010-08-13 | Merge branch 'master' into glsl2 | Ian Romanick | |
2010-08-13 | mesa: Work-arounds for platforms that lack C99 math functions | Ian Romanick | |
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-12 | mesa: fpclassify is available with MinGW. | Vinson Lee | |
This patch fixes the MinGW build. | |||
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-11 | glsl2: remove stray semicolon | Brian Paul | |
2010-08-10 | mesa: use switch stmt in init_program_limits() | Brian Paul | |
2010-08-10 | mesa: remove obsolete comments | Brian Paul | |
2010-08-10 | mesa: fix comment typo | Brian Paul | |
2010-08-03 | mesa: Reduce header file inclusion in texgen.h. | Vinson Lee | |
texgen.h doesn't use any symbols additionally added by mtypes.h. | |||
2010-08-03 | mesa: Reduce header file inclusion in texcompress_fxt1.h. | Vinson Lee | |
texcompress_fxt1.h doesn't use any additional symbols added by mtypes.h. | |||
2010-08-02 | mesa: Reduce header file inclusion in syncobj.h. | Vinson Lee | |
syncobj.h doesn't use any additional symbols that is added by context.h. | |||
2010-07-31 | mesa: Remove inclusion of compiler.h from mtypes.h. | Vinson Lee | |
mtypes.h does not use any symbols from compiler.h. Also add the required headers for files that depended on symbols from compiler.h but were indirectly including compiler.h through mtypes.h. | |||
2010-07-31 | mesa: Remove unnecessary header from mm.h. | Vinson Lee | |
2010-07-31 | mesa: Add headers containing sybmols used by mm.c. | Vinson Lee | |
2010-07-31 | mesa: Reduce header file inclusion in get.h. | Vinson Lee | |
get.h only needs the GL headers. | |||
2010-07-31 | mesa: Include missing headers in vtxfmt.h. | Vinson Lee | |
Include compiler.h for INLINE symbol. Include mtypes.h for GLcontext symbol. | |||
2010-07-31 | mesa: Include missing header in shared.h. | Vinson Lee | |
Include mtypes.h for GLcontext symbol. | |||
2010-07-31 | mesa: Include missing header in restart.h. | Vinson Lee | |
2010-07-31 | mesa: Include missing headers in renderbuffer.h. | Vinson Lee | |
2010-07-31 | mesa: Include missing header in remap.h. | Vinson Lee | |
Include compiler.h for INLINE symbol. | |||
2010-07-31 | mesa: Remove unnecessary headers. | Vinson Lee | |
2010-07-30 | mesa: Include missing header in pixelstore.h. | Vinson Lee | |
Include mtypes.h for GLcontext symbol. | |||
2010-07-30 | mesa: Include missing headers in nvprogram.h. | Vinson Lee | |
2010-07-30 | mesa: added gl_program::IndirectRegisterFiles field | Brian Paul | |
Now drivers, etc. can know which register files are accessed with indirect addressing. Before we just checked gl_program::NumAddressRegs but didn't know if that was the constant buffer, temp regs, or what. The only user of this new field so far will be the gallium state tracker. | |||
2010-07-30 | mesa: Add missing header to multisample.h. | Vinson Lee | |
Include mtypes.h for GLcontext symbol. | |||
2010-07-30 | mesa: Remove unnecessary header from colormac.h. | Vinson Lee | |
2010-07-30 | mesa: Remove unnecessary headers. | Vinson Lee | |
2010-07-30 | mesa: Include macros.h in files that use symbols from macros.h. | Vinson Lee | |
Don't rely on inclusion of other files that already include macros.h. | |||
2010-07-30 | mesa: Include macros.h in attrib.c for COPY_4FV symbol. | Vinson Lee | |