| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Signed-off-by: José Fonseca <[email protected]>
|
|
|
|
| |
Signed-off-by: José Fonseca <[email protected]>
|
|
|
|
| |
Fixes: glsl-getactiveuniform-length.
|
|
|
|
|
| |
Fix mixed use of GL_APIENTRY and GLAPIENTRY. Parameter list of a function
prototype should never be empty.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 <[email protected]>
|
|
|
|
| |
Note that GLES headers use GL_APIENTRY, not GLAPIENTRY.
|
|
|
|
|
| |
mfeatures.h defines ASSERT_NO_FEATURE to ASSERT, which is defined in
compiler.h. Header files using the macro should include compiler.h.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|\
| |
| |
| |
| | |
Conflicts:
src/mesa/program/prog_optimize.c
|
| | |
|
| | |
|
| | |
|
| |\ |
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
This lets drivers override ir_to_mesa with their own codegen, or at
least have a native alternative.
|
| | | |
|
| |\ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This pulls in multiple i965 driver fixes which will help ensure better
testing coverage during development, and also gets past the conflicts
of the src/mesa/shader -> src/mesa/program move.
Conflicts:
src/mesa/Makefile
src/mesa/main/shaderapi.c
src/mesa/main/shaderobj.h
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This is an invasive set of changes. Each user shader tracks a set of other
shaders that contain built-in functions. During compilation, function
prototypes are imported from these shaders. During linking, the
shaders are linked with these built-in-function shaders just like with
any other shader.
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
The can be at most one shader per stage. There are currently only two
stages. There is zero reason to dynamically size this array.
|
| | | |
| | | |
| | | |
| | | | |
This avoids more allocation and shuffling of data around.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
This saves recompiling at link time. gl_shader->ir is made a pointer
so that we don't have to bring exec_list into mtypes.h.
|
| | | |
| | | |
| | | |
| | | | |
This patch fixes the MinGW build.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
On FreeBSD LC_CTYPE_MASK is not available but 'llvm-config --cppflags'
adds the compiler flag -D_GNU_SOURCE to the build.
|
| | | | |
|
| | | | |
|
| |_|/
|/| | |
|
| | |
| | |
| | |
| | | |
texgen.h doesn't use any symbols additionally added by mtypes.h.
|
| | |
| | |
| | |
| | | |
texcompress_fxt1.h doesn't use any additional symbols added by mtypes.h.
|
| | |
| | |
| | |
| | | |
syncobj.h doesn't use any additional symbols that is added by context.h.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
get.h only needs the GL headers.
|
| | |
| | |
| | |
| | |
| | | |
Include compiler.h for INLINE symbol.
Include mtypes.h for GLcontext symbol.
|
| | |
| | |
| | |
| | | |
Include mtypes.h for GLcontext symbol.
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
Include compiler.h for INLINE symbol.
|
| | | |
|
| | |
| | |
| | |
| | | |
Include mtypes.h for GLcontext symbol.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|