Be more consistant with paths in #includes. Eventually, eliminate a bunch of -I flags.
This commit is contained in:
@@ -31,8 +31,8 @@
|
|||||||
#include "context.h"
|
#include "context.h"
|
||||||
#include "imports.h"
|
#include "imports.h"
|
||||||
#include "macros.h"
|
#include "macros.h"
|
||||||
#include "glapioffsets.h"
|
#include "glapi/glapioffsets.h"
|
||||||
#include "dispatch.h"
|
#include "glapi/dispatch.h"
|
||||||
|
|
||||||
typedef void (GLAPIENTRY *array_func)( const void * );
|
typedef void (GLAPIENTRY *array_func)( const void * );
|
||||||
|
|
||||||
|
@@ -30,14 +30,14 @@
|
|||||||
|
|
||||||
|
|
||||||
#include "glheader.h"
|
#include "glheader.h"
|
||||||
#include "glapi.h"
|
|
||||||
#include "glapitable.h"
|
|
||||||
#include "macros.h"
|
#include "macros.h"
|
||||||
#include "colormac.h"
|
#include "colormac.h"
|
||||||
#include "api_loopback.h"
|
#include "api_loopback.h"
|
||||||
#include "glthread.h"
|
|
||||||
#include "mtypes.h"
|
#include "mtypes.h"
|
||||||
#include "dispatch.h"
|
#include "glapi/glapi.h"
|
||||||
|
#include "glapi/glapitable.h"
|
||||||
|
#include "glapi/glthread.h"
|
||||||
|
#include "glapi/dispatch.h"
|
||||||
|
|
||||||
/* KW: A set of functions to convert unusual Color/Normal/Vertex/etc
|
/* KW: A set of functions to convert unusual Color/Normal/Vertex/etc
|
||||||
* calls to a smaller set of driver-provided formats. Currently just
|
* calls to a smaller set of driver-provided formats. Currently just
|
||||||
|
@@ -31,7 +31,7 @@
|
|||||||
#include "light.h"
|
#include "light.h"
|
||||||
#include "macros.h"
|
#include "macros.h"
|
||||||
#include "dlist.h"
|
#include "dlist.h"
|
||||||
#include "dispatch.h"
|
#include "glapi/dispatch.h"
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@@ -46,7 +46,7 @@
|
|||||||
#include "bufferobj.h"
|
#include "bufferobj.h"
|
||||||
#endif
|
#endif
|
||||||
#include "arrayobj.h"
|
#include "arrayobj.h"
|
||||||
#include "dispatch.h"
|
#include "glapi/dispatch.h"
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@@ -97,12 +97,9 @@
|
|||||||
#include "fog.h"
|
#include "fog.h"
|
||||||
#include "framebuffer.h"
|
#include "framebuffer.h"
|
||||||
#include "get.h"
|
#include "get.h"
|
||||||
#include "glthread.h"
|
|
||||||
#include "glapioffsets.h"
|
|
||||||
#include "histogram.h"
|
#include "histogram.h"
|
||||||
#include "hint.h"
|
#include "hint.h"
|
||||||
#include "hash.h"
|
#include "hash.h"
|
||||||
#include "atifragshader.h"
|
|
||||||
#include "light.h"
|
#include "light.h"
|
||||||
#include "lines.h"
|
#include "lines.h"
|
||||||
#include "macros.h"
|
#include "macros.h"
|
||||||
@@ -110,9 +107,6 @@
|
|||||||
#include "pixel.h"
|
#include "pixel.h"
|
||||||
#include "points.h"
|
#include "points.h"
|
||||||
#include "polygon.h"
|
#include "polygon.h"
|
||||||
#if FEATURE_NV_vertex_program || FEATURE_NV_fragment_program
|
|
||||||
#include "program.h"
|
|
||||||
#endif
|
|
||||||
#include "queryobj.h"
|
#include "queryobj.h"
|
||||||
#include "rastpos.h"
|
#include "rastpos.h"
|
||||||
#include "simple_list.h"
|
#include "simple_list.h"
|
||||||
@@ -126,13 +120,19 @@
|
|||||||
#include "varray.h"
|
#include "varray.h"
|
||||||
#include "version.h"
|
#include "version.h"
|
||||||
#include "vtxfmt.h"
|
#include "vtxfmt.h"
|
||||||
|
#include "glapi/glthread.h"
|
||||||
|
#include "glapi/glapioffsets.h"
|
||||||
|
#if FEATURE_NV_vertex_program || FEATURE_NV_fragment_program
|
||||||
|
#include "shader/program.h"
|
||||||
|
#endif
|
||||||
|
#include "shader/shader_api.h"
|
||||||
|
#include "shader/atifragshader.h"
|
||||||
#if _HAVE_FULL_GL
|
#if _HAVE_FULL_GL
|
||||||
#include "math/m_translate.h"
|
#include "math/m_translate.h"
|
||||||
#include "math/m_matrix.h"
|
#include "math/m_matrix.h"
|
||||||
#include "math/m_xform.h"
|
#include "math/m_xform.h"
|
||||||
#include "math/mathmod.h"
|
#include "math/mathmod.h"
|
||||||
#endif
|
#endif
|
||||||
#include "shader_api.h"
|
|
||||||
|
|
||||||
#ifdef USE_SPARC_ASM
|
#ifdef USE_SPARC_ASM
|
||||||
#include "sparc/sparc.h"
|
#include "sparc/sparc.h"
|
||||||
|
@@ -49,7 +49,7 @@
|
|||||||
#define CONTEXT_H
|
#define CONTEXT_H
|
||||||
|
|
||||||
|
|
||||||
#include "glapi.h"
|
#include "glapi/glapi.h"
|
||||||
#include "imports.h"
|
#include "imports.h"
|
||||||
#include "mtypes.h"
|
#include "mtypes.h"
|
||||||
|
|
||||||
|
@@ -33,10 +33,6 @@
|
|||||||
#include "api_arrayelt.h"
|
#include "api_arrayelt.h"
|
||||||
#include "api_loopback.h"
|
#include "api_loopback.h"
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#if FEATURE_ARB_vertex_program || FEATURE_ARB_fragment_program
|
|
||||||
#include "arbprogram.h"
|
|
||||||
#include "program.h"
|
|
||||||
#endif
|
|
||||||
#include "attrib.h"
|
#include "attrib.h"
|
||||||
#include "blend.h"
|
#include "blend.h"
|
||||||
#include "buffers.h"
|
#include "buffers.h"
|
||||||
@@ -57,7 +53,7 @@
|
|||||||
#include "extensions.h"
|
#include "extensions.h"
|
||||||
#include "feedback.h"
|
#include "feedback.h"
|
||||||
#include "get.h"
|
#include "get.h"
|
||||||
#include "glapi.h"
|
#include "glapi/glapi.h"
|
||||||
#include "hash.h"
|
#include "hash.h"
|
||||||
#include "histogram.h"
|
#include "histogram.h"
|
||||||
#include "image.h"
|
#include "image.h"
|
||||||
@@ -76,18 +72,22 @@
|
|||||||
#include "texstate.h"
|
#include "texstate.h"
|
||||||
#include "mtypes.h"
|
#include "mtypes.h"
|
||||||
#include "varray.h"
|
#include "varray.h"
|
||||||
|
#if FEATURE_ARB_vertex_program || FEATURE_ARB_fragment_program
|
||||||
|
#include "shader/arbprogram.h"
|
||||||
|
#include "shader/program.h"
|
||||||
|
#endif
|
||||||
#if FEATURE_NV_vertex_program || FEATURE_NV_fragment_program
|
#if FEATURE_NV_vertex_program || FEATURE_NV_fragment_program
|
||||||
#include "nvprogram.h"
|
#include "shader/nvprogram.h"
|
||||||
#include "program.h"
|
#include "shader/program.h"
|
||||||
#endif
|
#endif
|
||||||
#if FEATURE_ATI_fragment_shader
|
#if FEATURE_ATI_fragment_shader
|
||||||
#include "atifragshader.h"
|
#include "shader/atifragshader.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "math/m_matrix.h"
|
#include "math/m_matrix.h"
|
||||||
#include "math/m_xform.h"
|
#include "math/m_xform.h"
|
||||||
|
|
||||||
#include "dispatch.h"
|
#include "glapi/dispatch.h"
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@@ -32,7 +32,7 @@
|
|||||||
|
|
||||||
|
|
||||||
#include "imports.h"
|
#include "imports.h"
|
||||||
#include "glthread.h"
|
#include "glapi/glthread.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@@ -37,7 +37,7 @@
|
|||||||
|
|
||||||
#include "glheader.h"
|
#include "glheader.h"
|
||||||
#include "imports.h"
|
#include "imports.h"
|
||||||
#include "glthread.h"
|
#include "glapi/glthread.h"
|
||||||
#include "hash.h"
|
#include "hash.h"
|
||||||
|
|
||||||
|
|
||||||
|
@@ -38,8 +38,8 @@
|
|||||||
#include "glheader.h"
|
#include "glheader.h"
|
||||||
#include <GL/internal/glcore.h> /* __GLcontextModes (GLvisual) */
|
#include <GL/internal/glcore.h> /* __GLcontextModes (GLvisual) */
|
||||||
#include "config.h" /* Hardwired parameters */
|
#include "config.h" /* Hardwired parameters */
|
||||||
#include "glapitable.h"
|
#include "glapi/glapitable.h"
|
||||||
#include "glthread.h"
|
#include "glapi/glthread.h"
|
||||||
#include "math/m_matrix.h" /* GLmatrix */
|
#include "math/m_matrix.h" /* GLmatrix */
|
||||||
#include "bitset.h"
|
#include "bitset.h"
|
||||||
|
|
||||||
|
@@ -35,10 +35,10 @@
|
|||||||
#include "accum.h"
|
#include "accum.h"
|
||||||
#include "api_loopback.h"
|
#include "api_loopback.h"
|
||||||
#if FEATURE_ARB_vertex_program || FEATURE_ARB_fragment_program
|
#if FEATURE_ARB_vertex_program || FEATURE_ARB_fragment_program
|
||||||
#include "arbprogram.h"
|
#include "shader/arbprogram.h"
|
||||||
#endif
|
#endif
|
||||||
#if FEATURE_ATI_fragment_shader
|
#if FEATURE_ATI_fragment_shader
|
||||||
#include "atifragshader.h"
|
#include "shader/atifragshader.h"
|
||||||
#endif
|
#endif
|
||||||
#include "attrib.h"
|
#include "attrib.h"
|
||||||
#include "blend.h"
|
#include "blend.h"
|
||||||
@@ -85,18 +85,18 @@
|
|||||||
#include "mtypes.h"
|
#include "mtypes.h"
|
||||||
#include "varray.h"
|
#include "varray.h"
|
||||||
#if FEATURE_NV_vertex_program
|
#if FEATURE_NV_vertex_program
|
||||||
#include "nvprogram.h"
|
#include "shader/nvprogram.h"
|
||||||
#endif
|
#endif
|
||||||
#if FEATURE_NV_fragment_program
|
#if FEATURE_NV_fragment_program
|
||||||
#include "nvprogram.h"
|
#include "shader/nvprogram.h"
|
||||||
#include "program.h"
|
#include "shader/program.h"
|
||||||
#include "texenvprogram.h"
|
#include "texenvprogram.h"
|
||||||
#endif
|
#endif
|
||||||
#if FEATURE_ARB_shader_objects
|
#if FEATURE_ARB_shader_objects
|
||||||
#include "shaders.h"
|
#include "shaders.h"
|
||||||
#endif
|
#endif
|
||||||
#include "debug.h"
|
#include "debug.h"
|
||||||
#include "dispatch.h"
|
#include "glapi/dispatch.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@@ -28,10 +28,10 @@
|
|||||||
#include "glheader.h"
|
#include "glheader.h"
|
||||||
#include "macros.h"
|
#include "macros.h"
|
||||||
#include "enums.h"
|
#include "enums.h"
|
||||||
#include "prog_parameter.h"
|
#include "shader/prog_parameter.h"
|
||||||
#include "prog_instruction.h"
|
#include "shader/prog_instruction.h"
|
||||||
#include "prog_print.h"
|
#include "shader/prog_print.h"
|
||||||
#include "prog_statevars.h"
|
#include "shader/prog_statevars.h"
|
||||||
#include "texenvprogram.h"
|
#include "texenvprogram.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@@ -32,7 +32,7 @@
|
|||||||
#include "mtypes.h"
|
#include "mtypes.h"
|
||||||
#include "varray.h"
|
#include "varray.h"
|
||||||
#include "arrayobj.h"
|
#include "arrayobj.h"
|
||||||
#include "dispatch.h"
|
#include "glapi/dispatch.h"
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@@ -29,8 +29,8 @@
|
|||||||
#define PRE_LOOPBACK( FUNC )
|
#define PRE_LOOPBACK( FUNC )
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "dispatch.h"
|
#include "glapi/dispatch.h"
|
||||||
#include "glapioffsets.h"
|
#include "glapi/glapioffsets.h"
|
||||||
|
|
||||||
static void GLAPIENTRY TAG(ArrayElement)( GLint i )
|
static void GLAPIENTRY TAG(ArrayElement)( GLint i )
|
||||||
{
|
{
|
||||||
|
@@ -37,8 +37,8 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
#include "glheader.h"
|
#include "main/glheader.h"
|
||||||
#include "config.h"
|
#include "main/config.h"
|
||||||
#include "m_eval.h"
|
#include "m_eval.h"
|
||||||
|
|
||||||
static GLfloat inv_tab[MAX_EVAL_ORDER];
|
static GLfloat inv_tab[MAX_EVAL_ORDER];
|
||||||
|
@@ -26,7 +26,7 @@
|
|||||||
#ifndef _M_EVAL_H
|
#ifndef _M_EVAL_H
|
||||||
#define _M_EVAL_H
|
#define _M_EVAL_H
|
||||||
|
|
||||||
#include "glheader.h"
|
#include "main/glheader.h"
|
||||||
|
|
||||||
void _math_init_eval( void );
|
void _math_init_eval( void );
|
||||||
|
|
||||||
|
@@ -26,8 +26,8 @@
|
|||||||
#ifndef _M_TRANSLATE_H_
|
#ifndef _M_TRANSLATE_H_
|
||||||
#define _M_TRANSLATE_H_
|
#define _M_TRANSLATE_H_
|
||||||
|
|
||||||
#include "config.h"
|
#include "main/config.h"
|
||||||
#include "mtypes.h" /* hack for GLchan */
|
#include "main/mtypes.h" /* hack for GLchan */
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@@ -33,8 +33,8 @@
|
|||||||
* 3. Transformation of a point p by a matrix M is: p' = M * p
|
* 3. Transformation of a point p by a matrix M is: p' = M * p
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "glheader.h"
|
#include "main/glheader.h"
|
||||||
#include "macros.h"
|
#include "main/macros.h"
|
||||||
|
|
||||||
#include "m_eval.h"
|
#include "m_eval.h"
|
||||||
#include "m_matrix.h"
|
#include "m_matrix.h"
|
||||||
|
@@ -30,10 +30,10 @@
|
|||||||
* \author Karl Rasche
|
* \author Karl Rasche
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "glheader.h"
|
#include "main/glheader.h"
|
||||||
#include "imports.h"
|
#include "main/imports.h"
|
||||||
|
#include "shader/grammar/grammar_mesa.h"
|
||||||
#include "arbprogparse.h"
|
#include "arbprogparse.h"
|
||||||
#include "grammar_mesa.h"
|
|
||||||
#include "program.h"
|
#include "program.h"
|
||||||
#include "prog_parameter.h"
|
#include "prog_parameter.h"
|
||||||
#include "prog_statevars.h"
|
#include "prog_statevars.h"
|
||||||
@@ -3573,7 +3573,7 @@ parse_instructions(GLcontext * ctx, const GLubyte * inst,
|
|||||||
|
|
||||||
/* XXX temporary */
|
/* XXX temporary */
|
||||||
LONGSTRING static char core_grammar_text[] =
|
LONGSTRING static char core_grammar_text[] =
|
||||||
#include "grammar_syn.h"
|
#include "shader/grammar/grammar_syn.h"
|
||||||
;
|
;
|
||||||
|
|
||||||
|
|
||||||
|
@@ -43,7 +43,7 @@
|
|||||||
#include "prog_instruction.h"
|
#include "prog_instruction.h"
|
||||||
#include "prog_parameter.h"
|
#include "prog_parameter.h"
|
||||||
#include "prog_print.h"
|
#include "prog_print.h"
|
||||||
#include "slang_library_noise.h"
|
#include "shader/slang/slang_library_noise.h"
|
||||||
|
|
||||||
|
|
||||||
/* See comments below for info about this */
|
/* See comments below for info about this */
|
||||||
|
@@ -43,10 +43,9 @@
|
|||||||
#include "prog_parameter.h"
|
#include "prog_parameter.h"
|
||||||
#include "prog_print.h"
|
#include "prog_print.h"
|
||||||
#include "prog_statevars.h"
|
#include "prog_statevars.h"
|
||||||
#include "shader_api.h"
|
#include "shader/shader_api.h"
|
||||||
|
#include "shader/slang/slang_compile.h"
|
||||||
#include "slang_compile.h"
|
#include "shader/slang/slang_link.h"
|
||||||
#include "slang_link.h"
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@@ -28,14 +28,14 @@
|
|||||||
* \author Brian Paul
|
* \author Brian Paul
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "imports.h"
|
#include "main/imports.h"
|
||||||
#include "slang_builtin.h"
|
#include "main/mtypes.h"
|
||||||
#include "slang_ir.h"
|
#include "shader/program.h"
|
||||||
#include "mtypes.h"
|
#include "shader/prog_instruction.h"
|
||||||
#include "program.h"
|
#include "shader/prog_parameter.h"
|
||||||
#include "prog_instruction.h"
|
#include "shader/prog_statevars.h"
|
||||||
#include "prog_parameter.h"
|
#include "shader/slang/slang_ir.h"
|
||||||
#include "prog_statevars.h"
|
#include "shader/slang/slang_builtin.h"
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@@ -26,7 +26,7 @@
|
|||||||
#ifndef SLANG_BUILTIN_H
|
#ifndef SLANG_BUILTIN_H
|
||||||
#define SLANG_BUILTIN_H
|
#define SLANG_BUILTIN_H
|
||||||
|
|
||||||
#include "prog_parameter.h"
|
#include "shader/prog_parameter.h"
|
||||||
#include "slang_utility.h"
|
#include "slang_utility.h"
|
||||||
#include "slang_ir.h"
|
#include "slang_ir.h"
|
||||||
|
|
||||||
|
@@ -37,13 +37,13 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
#include "imports.h"
|
#include "main/imports.h"
|
||||||
#include "macros.h"
|
#include "main/macros.h"
|
||||||
#include "mtypes.h"
|
#include "main/mtypes.h"
|
||||||
#include "program.h"
|
#include "shader/program.h"
|
||||||
#include "prog_instruction.h"
|
#include "shader/prog_instruction.h"
|
||||||
#include "prog_parameter.h"
|
#include "shader/prog_parameter.h"
|
||||||
#include "prog_statevars.h"
|
#include "shader/prog_statevars.h"
|
||||||
#include "slang_typeinfo.h"
|
#include "slang_typeinfo.h"
|
||||||
#include "slang_codegen.h"
|
#include "slang_codegen.h"
|
||||||
#include "slang_compile.h"
|
#include "slang_compile.h"
|
||||||
|
@@ -28,11 +28,11 @@
|
|||||||
* \author Michal Krol
|
* \author Michal Krol
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "imports.h"
|
#include "main/imports.h"
|
||||||
#include "context.h"
|
#include "main/context.h"
|
||||||
#include "program.h"
|
#include "shader/program.h"
|
||||||
#include "prog_parameter.h"
|
#include "shader/prog_parameter.h"
|
||||||
#include "grammar_mesa.h"
|
#include "shader/grammar/grammar_mesa.h"
|
||||||
#include "slang_codegen.h"
|
#include "slang_codegen.h"
|
||||||
#include "slang_compile.h"
|
#include "slang_compile.h"
|
||||||
#include "slang_preprocess.h"
|
#include "slang_preprocess.h"
|
||||||
|
@@ -36,13 +36,13 @@
|
|||||||
***/
|
***/
|
||||||
|
|
||||||
|
|
||||||
#include "imports.h"
|
#include "main/imports.h"
|
||||||
#include "context.h"
|
#include "main/context.h"
|
||||||
#include "macros.h"
|
#include "main/macros.h"
|
||||||
#include "program.h"
|
#include "shader/program.h"
|
||||||
#include "prog_instruction.h"
|
#include "shader/prog_instruction.h"
|
||||||
#include "prog_parameter.h"
|
#include "shader/prog_parameter.h"
|
||||||
#include "prog_print.h"
|
#include "shader/prog_print.h"
|
||||||
#include "slang_builtin.h"
|
#include "slang_builtin.h"
|
||||||
#include "slang_emit.h"
|
#include "slang_emit.h"
|
||||||
#include "slang_mem.h"
|
#include "slang_mem.h"
|
||||||
|
@@ -27,7 +27,7 @@
|
|||||||
#include "context.h"
|
#include "context.h"
|
||||||
#include "slang_ir.h"
|
#include "slang_ir.h"
|
||||||
#include "slang_mem.h"
|
#include "slang_mem.h"
|
||||||
#include "prog_print.h"
|
#include "shader/prog_print.h"
|
||||||
|
|
||||||
|
|
||||||
static const slang_ir_info IrInfo[] = {
|
static const slang_ir_info IrInfo[] = {
|
||||||
|
@@ -1,9 +1,9 @@
|
|||||||
#ifndef SLANG_LABEL_H
|
#ifndef SLANG_LABEL_H
|
||||||
#define SLANG_LABEL_H 1
|
#define SLANG_LABEL_H 1
|
||||||
|
|
||||||
#include "imports.h"
|
#include "main/imports.h"
|
||||||
#include "mtypes.h"
|
#include "main/mtypes.h"
|
||||||
#include "prog_instruction.h"
|
#include "shader/prog_instruction.h"
|
||||||
|
|
||||||
|
|
||||||
struct slang_label_
|
struct slang_label_
|
||||||
|
@@ -28,16 +28,16 @@
|
|||||||
* \author Brian Paul
|
* \author Brian Paul
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "imports.h"
|
#include "main/imports.h"
|
||||||
#include "context.h"
|
#include "main/context.h"
|
||||||
#include "hash.h"
|
#include "main/hash.h"
|
||||||
#include "macros.h"
|
#include "main/macros.h"
|
||||||
#include "program.h"
|
#include "shader/program.h"
|
||||||
#include "prog_instruction.h"
|
#include "shader/prog_instruction.h"
|
||||||
#include "prog_parameter.h"
|
#include "shader/prog_parameter.h"
|
||||||
#include "prog_print.h"
|
#include "shader/prog_print.h"
|
||||||
#include "prog_statevars.h"
|
#include "shader/prog_statevars.h"
|
||||||
#include "shader_api.h"
|
#include "shader/shader_api.h"
|
||||||
#include "slang_link.h"
|
#include "slang_link.h"
|
||||||
|
|
||||||
|
|
||||||
|
@@ -29,7 +29,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "imports.h"
|
#include "imports.h"
|
||||||
#include "grammar_mesa.h"
|
#include "shader/grammar/grammar_mesa.h"
|
||||||
#include "slang_preprocess.h"
|
#include "slang_preprocess.h"
|
||||||
|
|
||||||
LONGSTRING static const char *slang_pp_directives_syn =
|
LONGSTRING static const char *slang_pp_directives_syn =
|
||||||
|
@@ -28,12 +28,12 @@
|
|||||||
* \author Michal Krol
|
* \author Michal Krol
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "imports.h"
|
#include "main/imports.h"
|
||||||
|
#include "shader/prog_instruction.h"
|
||||||
#include "slang_typeinfo.h"
|
#include "slang_typeinfo.h"
|
||||||
#include "slang_compile.h"
|
#include "slang_compile.h"
|
||||||
#include "slang_log.h"
|
#include "slang_log.h"
|
||||||
#include "slang_mem.h"
|
#include "slang_mem.h"
|
||||||
#include "prog_instruction.h"
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@@ -1,11 +1,11 @@
|
|||||||
|
|
||||||
#include "imports.h"
|
#include "main/imports.h"
|
||||||
|
#include "shader/prog_instruction.h"
|
||||||
#include "slang_compile.h"
|
#include "slang_compile.h"
|
||||||
#include "slang_compile_variable.h"
|
#include "slang_compile_variable.h"
|
||||||
#include "slang_mem.h"
|
#include "slang_mem.h"
|
||||||
#include "slang_vartable.h"
|
#include "slang_vartable.h"
|
||||||
#include "slang_ir.h"
|
#include "slang_ir.h"
|
||||||
#include "prog_instruction.h"
|
|
||||||
|
|
||||||
|
|
||||||
static int dbg = 0;
|
static int dbg = 0;
|
||||||
|
@@ -23,11 +23,10 @@
|
|||||||
#include "glheader.h"
|
#include "glheader.h"
|
||||||
#include "colormac.h"
|
#include "colormac.h"
|
||||||
#include "context.h"
|
#include "context.h"
|
||||||
#include "atifragshader.h"
|
|
||||||
#include "macros.h"
|
#include "macros.h"
|
||||||
#include "program.h"
|
#include "shader/program.h"
|
||||||
|
#include "shader/atifragshader.h"
|
||||||
#include "s_atifragshader.h"
|
#include "swrast/s_atifragshader.h"
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@@ -31,9 +31,9 @@
|
|||||||
#include "context.h"
|
#include "context.h"
|
||||||
#include "colormac.h"
|
#include "colormac.h"
|
||||||
#include "mtypes.h"
|
#include "mtypes.h"
|
||||||
#include "prog_statevars.h"
|
|
||||||
#include "teximage.h"
|
#include "teximage.h"
|
||||||
#include "swrast.h"
|
#include "swrast.h"
|
||||||
|
#include "shader/prog_statevars.h"
|
||||||
#include "s_blend.h"
|
#include "s_blend.h"
|
||||||
#include "s_context.h"
|
#include "s_context.h"
|
||||||
#include "s_lines.h"
|
#include "s_lines.h"
|
||||||
|
@@ -43,10 +43,10 @@
|
|||||||
#ifndef S_CONTEXT_H
|
#ifndef S_CONTEXT_H
|
||||||
#define S_CONTEXT_H
|
#define S_CONTEXT_H
|
||||||
|
|
||||||
#include "mtypes.h"
|
#include "main/mtypes.h"
|
||||||
|
#include "shader/prog_execute.h"
|
||||||
#include "swrast.h"
|
#include "swrast.h"
|
||||||
#include "s_span.h"
|
#include "s_span.h"
|
||||||
#include "prog_execute.h"
|
|
||||||
|
|
||||||
|
|
||||||
typedef void (*texture_sample_func)(GLcontext *ctx,
|
typedef void (*texture_sample_func)(GLcontext *ctx,
|
||||||
|
@@ -22,11 +22,11 @@
|
|||||||
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "glheader.h"
|
#include "main/glheader.h"
|
||||||
#include "colormac.h"
|
#include "main/colormac.h"
|
||||||
#include "context.h"
|
#include "main/context.h"
|
||||||
#include "prog_instruction.h"
|
#include "main/texstate.h"
|
||||||
#include "texstate.h"
|
#include "shader/prog_instruction.h"
|
||||||
|
|
||||||
#include "s_fragprog.h"
|
#include "s_fragprog.h"
|
||||||
#include "s_span.h"
|
#include "s_span.h"
|
||||||
|
@@ -32,7 +32,7 @@
|
|||||||
#ifndef SWRAST_H
|
#ifndef SWRAST_H
|
||||||
#define SWRAST_H
|
#define SWRAST_H
|
||||||
|
|
||||||
#include "mtypes.h"
|
#include "main/mtypes.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \struct SWvertex
|
* \struct SWvertex
|
||||||
|
@@ -26,12 +26,12 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
#include "glheader.h"
|
#include "main/glheader.h"
|
||||||
#include "imports.h"
|
#include "main/imports.h"
|
||||||
#include "context.h"
|
#include "main/context.h"
|
||||||
#include "macros.h"
|
#include "main/macros.h"
|
||||||
#include "mtypes.h"
|
#include "main/mtypes.h"
|
||||||
#include "light.h"
|
#include "main/light.h"
|
||||||
|
|
||||||
#include "tnl.h"
|
#include "tnl.h"
|
||||||
#include "t_context.h"
|
#include "t_context.h"
|
||||||
|
@@ -49,8 +49,8 @@
|
|||||||
#ifndef _T_CONTEXT_H
|
#ifndef _T_CONTEXT_H
|
||||||
#define _T_CONTEXT_H
|
#define _T_CONTEXT_H
|
||||||
|
|
||||||
#include "glheader.h"
|
#include "main/glheader.h"
|
||||||
#include "mtypes.h"
|
#include "main/mtypes.h"
|
||||||
|
|
||||||
#include "math/m_matrix.h"
|
#include "math/m_matrix.h"
|
||||||
#include "math/m_vector.h"
|
#include "math/m_vector.h"
|
||||||
|
@@ -25,11 +25,11 @@
|
|||||||
* Keith Whitwell <keith@tungstengraphics.com>
|
* Keith Whitwell <keith@tungstengraphics.com>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "glheader.h"
|
#include "main/glheader.h"
|
||||||
#include "context.h"
|
#include "main/context.h"
|
||||||
#include "imports.h"
|
#include "main/imports.h"
|
||||||
#include "state.h"
|
#include "main/state.h"
|
||||||
#include "mtypes.h"
|
#include "main/mtypes.h"
|
||||||
|
|
||||||
#include "t_context.h"
|
#include "t_context.h"
|
||||||
#include "t_pipeline.h"
|
#include "t_pipeline.h"
|
||||||
|
@@ -35,16 +35,16 @@
|
|||||||
#include "context.h"
|
#include "context.h"
|
||||||
#include "macros.h"
|
#include "macros.h"
|
||||||
#include "imports.h"
|
#include "imports.h"
|
||||||
#include "prog_instruction.h"
|
#include "shader/prog_instruction.h"
|
||||||
#include "prog_statevars.h"
|
#include "shader/prog_statevars.h"
|
||||||
#include "prog_execute.h"
|
#include "shader/prog_execute.h"
|
||||||
|
#include "swrast/s_context.h"
|
||||||
|
#include "swrast/s_texfilter.h"
|
||||||
|
|
||||||
#include "tnl.h"
|
#include "tnl.h"
|
||||||
#include "t_context.h"
|
#include "t_context.h"
|
||||||
#include "t_pipeline.h"
|
#include "t_pipeline.h"
|
||||||
|
|
||||||
#include "swrast/s_context.h"
|
|
||||||
#include "swrast/s_texfilter.h"
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* XXX the texture sampling code in this module is a bit of a hack.
|
* XXX the texture sampling code in this module is a bit of a hack.
|
||||||
|
@@ -33,11 +33,11 @@
|
|||||||
#include "glheader.h"
|
#include "glheader.h"
|
||||||
#include "macros.h"
|
#include "macros.h"
|
||||||
#include "enums.h"
|
#include "enums.h"
|
||||||
#include "program.h"
|
#include "shader/program.h"
|
||||||
#include "prog_instruction.h"
|
#include "shader/prog_instruction.h"
|
||||||
#include "prog_parameter.h"
|
#include "shader/prog_parameter.h"
|
||||||
#include "prog_print.h"
|
#include "shader/prog_print.h"
|
||||||
#include "prog_statevars.h"
|
#include "shader/prog_statevars.h"
|
||||||
#include "t_context.h" /* NOTE: very light dependency on this */
|
#include "t_context.h" /* NOTE: very light dependency on this */
|
||||||
#include "t_vp_build.h"
|
#include "t_vp_build.h"
|
||||||
|
|
||||||
|
@@ -29,7 +29,7 @@
|
|||||||
#ifndef _TNL_H
|
#ifndef _TNL_H
|
||||||
#define _TNL_H
|
#define _TNL_H
|
||||||
|
|
||||||
#include "mtypes.h"
|
#include "main/mtypes.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@@ -32,7 +32,7 @@
|
|||||||
#ifndef _VBO_H
|
#ifndef _VBO_H
|
||||||
#define _VBO_H
|
#define _VBO_H
|
||||||
|
|
||||||
#include "mtypes.h"
|
#include "main/mtypes.h"
|
||||||
|
|
||||||
struct _mesa_prim {
|
struct _mesa_prim {
|
||||||
GLuint mode:8;
|
GLuint mode:8;
|
||||||
|
@@ -25,11 +25,11 @@
|
|||||||
* Keith Whitwell <keith@tungstengraphics.com>
|
* Keith Whitwell <keith@tungstengraphics.com>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "mtypes.h"
|
#include "main/imports.h"
|
||||||
|
#include "main/mtypes.h"
|
||||||
|
#include "main/api_arrayelt.h"
|
||||||
#include "vbo.h"
|
#include "vbo.h"
|
||||||
#include "vbo_context.h"
|
#include "vbo_context.h"
|
||||||
#include "imports.h"
|
|
||||||
#include "api_arrayelt.h"
|
|
||||||
|
|
||||||
/* Reach out and grab this to use as the default:
|
/* Reach out and grab this to use as the default:
|
||||||
*/
|
*/
|
||||||
|
@@ -26,14 +26,14 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
#include "api_arrayelt.h"
|
#include "main/api_arrayelt.h"
|
||||||
#include "glheader.h"
|
#include "main/glheader.h"
|
||||||
#include "imports.h"
|
#include "main/imports.h"
|
||||||
#include "context.h"
|
#include "main/context.h"
|
||||||
#include "macros.h"
|
#include "main/macros.h"
|
||||||
#include "mtypes.h"
|
#include "main/mtypes.h"
|
||||||
#include "dlist.h"
|
#include "main/dlist.h"
|
||||||
#include "vtxfmt.h"
|
#include "main/vtxfmt.h"
|
||||||
|
|
||||||
#include "vbo_context.h"
|
#include "vbo_context.h"
|
||||||
|
|
||||||
|
@@ -34,7 +34,7 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||||||
#ifndef __VBO_EXEC_H__
|
#ifndef __VBO_EXEC_H__
|
||||||
#define __VBO_EXEC_H__
|
#define __VBO_EXEC_H__
|
||||||
|
|
||||||
#include "mtypes.h"
|
#include "main/mtypes.h"
|
||||||
#include "vbo.h"
|
#include "vbo.h"
|
||||||
#include "vbo_attrib.h"
|
#include "vbo_attrib.h"
|
||||||
|
|
||||||
|
@@ -30,16 +30,16 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||||||
* Keith Whitwell <keith@tungstengraphics.com>
|
* Keith Whitwell <keith@tungstengraphics.com>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "glheader.h"
|
#include "main/glheader.h"
|
||||||
#include "context.h"
|
#include "main/context.h"
|
||||||
#include "macros.h"
|
#include "main/macros.h"
|
||||||
#include "vtxfmt.h"
|
#include "main/vtxfmt.h"
|
||||||
#include "dlist.h"
|
#include "main/dlist.h"
|
||||||
#include "state.h"
|
#include "main/state.h"
|
||||||
#include "light.h"
|
#include "main/light.h"
|
||||||
#include "api_arrayelt.h"
|
#include "main/api_arrayelt.h"
|
||||||
#include "api_noop.h"
|
#include "main/api_noop.h"
|
||||||
#include "dispatch.h"
|
#include "glapi/dispatch.h"
|
||||||
|
|
||||||
#include "vbo_context.h"
|
#include "vbo_context.h"
|
||||||
|
|
||||||
|
@@ -25,12 +25,12 @@
|
|||||||
*
|
*
|
||||||
**************************************************************************/
|
**************************************************************************/
|
||||||
|
|
||||||
#include "glheader.h"
|
#include "main/glheader.h"
|
||||||
#include "context.h"
|
#include "main/context.h"
|
||||||
#include "state.h"
|
#include "main/state.h"
|
||||||
#include "api_validate.h"
|
#include "main/api_validate.h"
|
||||||
#include "api_noop.h"
|
#include "main/api_noop.h"
|
||||||
#include "dispatch.h"
|
#include "glapi/dispatch.h"
|
||||||
|
|
||||||
#include "vbo_context.h"
|
#include "vbo_context.h"
|
||||||
|
|
||||||
|
@@ -25,11 +25,11 @@
|
|||||||
* Keith Whitwell <keith@tungstengraphics.com>
|
* Keith Whitwell <keith@tungstengraphics.com>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "glheader.h"
|
#include "main/glheader.h"
|
||||||
#include "context.h"
|
#include "main/context.h"
|
||||||
#include "enums.h"
|
#include "main/enums.h"
|
||||||
#include "state.h"
|
#include "main/state.h"
|
||||||
#include "macros.h"
|
#include "main/macros.h"
|
||||||
|
|
||||||
#include "vbo_context.h"
|
#include "vbo_context.h"
|
||||||
|
|
||||||
|
@@ -25,13 +25,13 @@
|
|||||||
* Keith Whitwell <keith@tungstengraphics.com>
|
* Keith Whitwell <keith@tungstengraphics.com>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "glheader.h"
|
#include "main/glheader.h"
|
||||||
#include "api_eval.h"
|
#include "main/api_eval.h"
|
||||||
#include "context.h"
|
#include "main/context.h"
|
||||||
#include "macros.h"
|
#include "main/macros.h"
|
||||||
#include "math/m_eval.h"
|
#include "math/m_eval.h"
|
||||||
|
#include "glapi/dispatch.h"
|
||||||
#include "vbo_exec.h"
|
#include "vbo_exec.h"
|
||||||
#include "dispatch.h"
|
|
||||||
|
|
||||||
|
|
||||||
static void clear_active_eval1( struct vbo_exec_context *exec, GLuint attr )
|
static void clear_active_eval1( struct vbo_exec_context *exec, GLuint attr )
|
||||||
|
@@ -46,9 +46,9 @@
|
|||||||
* of zero.
|
* of zero.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "glheader.h"
|
#include "main/glheader.h"
|
||||||
#include "imports.h"
|
#include "main/imports.h"
|
||||||
#include "mtypes.h"
|
#include "main/mtypes.h"
|
||||||
|
|
||||||
#include "vbo.h"
|
#include "vbo.h"
|
||||||
|
|
||||||
|
@@ -26,10 +26,10 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
#include "mtypes.h"
|
#include "main/mtypes.h"
|
||||||
#include "dlist.h"
|
#include "main/dlist.h"
|
||||||
#include "vtxfmt.h"
|
#include "main/vtxfmt.h"
|
||||||
#include "imports.h"
|
#include "main/imports.h"
|
||||||
|
|
||||||
#include "vbo_context.h"
|
#include "vbo_context.h"
|
||||||
|
|
||||||
|
@@ -34,7 +34,7 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||||||
#ifndef VBO_SAVE_H
|
#ifndef VBO_SAVE_H
|
||||||
#define VBO_SAVE_H
|
#define VBO_SAVE_H
|
||||||
|
|
||||||
#include "mtypes.h"
|
#include "main/mtypes.h"
|
||||||
#include "vbo.h"
|
#include "vbo.h"
|
||||||
#include "vbo_attrib.h"
|
#include "vbo_attrib.h"
|
||||||
|
|
||||||
|
@@ -67,15 +67,15 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
#include "glheader.h"
|
#include "main/glheader.h"
|
||||||
#include "context.h"
|
#include "main/context.h"
|
||||||
#include "dlist.h"
|
#include "main/dlist.h"
|
||||||
#include "enums.h"
|
#include "main/enums.h"
|
||||||
#include "macros.h"
|
#include "main/macros.h"
|
||||||
#include "api_validate.h"
|
#include "main/api_validate.h"
|
||||||
#include "api_arrayelt.h"
|
#include "main/api_arrayelt.h"
|
||||||
#include "vtxfmt.h"
|
#include "main/vtxfmt.h"
|
||||||
#include "dispatch.h"
|
#include "glapi/dispatch.h"
|
||||||
|
|
||||||
#include "vbo_context.h"
|
#include "vbo_context.h"
|
||||||
|
|
||||||
|
@@ -26,13 +26,13 @@
|
|||||||
* Keith Whitwell <keith@tungstengraphics.com>
|
* Keith Whitwell <keith@tungstengraphics.com>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "glheader.h"
|
#include "main/glheader.h"
|
||||||
#include "context.h"
|
#include "main/context.h"
|
||||||
#include "imports.h"
|
#include "main/imports.h"
|
||||||
#include "mtypes.h"
|
#include "main/mtypes.h"
|
||||||
#include "macros.h"
|
#include "main/macros.h"
|
||||||
#include "light.h"
|
#include "main/light.h"
|
||||||
#include "state.h"
|
#include "main/state.h"
|
||||||
|
|
||||||
#include "vbo_context.h"
|
#include "vbo_context.h"
|
||||||
|
|
||||||
|
@@ -28,17 +28,17 @@
|
|||||||
#include "swrast_setup/swrast_setup.h"
|
#include "swrast_setup/swrast_setup.h"
|
||||||
#include "swrast/swrast.h"
|
#include "swrast/swrast.h"
|
||||||
#include "tnl/tnl.h"
|
#include "tnl/tnl.h"
|
||||||
#include "context.h"
|
#include "main/context.h"
|
||||||
|
#include "main/glheader.h"
|
||||||
|
#include "main/enums.h"
|
||||||
|
#include "main/imports.h"
|
||||||
|
#include "main/macros.h"
|
||||||
|
#include "main/mtypes.h"
|
||||||
|
#include "glapi/dispatch.h"
|
||||||
|
#include "glapi/glapi.h"
|
||||||
|
|
||||||
#include "vbo_context.h"
|
#include "vbo_context.h"
|
||||||
|
|
||||||
#include "glheader.h"
|
|
||||||
#include "enums.h"
|
|
||||||
#include "glapi.h"
|
|
||||||
#include "imports.h"
|
|
||||||
#include "macros.h"
|
|
||||||
#include "mtypes.h"
|
|
||||||
#include "dispatch.h"
|
|
||||||
|
|
||||||
|
|
||||||
typedef void (*attr_func)( GLcontext *ctx, GLint target, const GLfloat * );
|
typedef void (*attr_func)( GLcontext *ctx, GLint target, const GLfloat * );
|
||||||
|
@@ -47,9 +47,9 @@
|
|||||||
* limitations on drivers which want to use it as a fallback path.
|
* limitations on drivers which want to use it as a fallback path.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "glheader.h"
|
#include "main/glheader.h"
|
||||||
#include "imports.h"
|
#include "main/imports.h"
|
||||||
#include "mtypes.h"
|
#include "main/mtypes.h"
|
||||||
|
|
||||||
#include "vbo_split.h"
|
#include "vbo_split.h"
|
||||||
#include "vbo.h"
|
#include "vbo.h"
|
||||||
|
@@ -29,11 +29,11 @@
|
|||||||
/* Split indexed primitives with per-vertex copying.
|
/* Split indexed primitives with per-vertex copying.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "glheader.h"
|
#include "main/glheader.h"
|
||||||
#include "imports.h"
|
#include "main/imports.h"
|
||||||
#include "macros.h"
|
#include "main/macros.h"
|
||||||
#include "enums.h"
|
#include "main/enums.h"
|
||||||
#include "mtypes.h"
|
#include "main/mtypes.h"
|
||||||
|
|
||||||
#include "vbo_split.h"
|
#include "vbo_split.h"
|
||||||
#include "vbo.h"
|
#include "vbo.h"
|
||||||
|
@@ -27,9 +27,9 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
#include "mtypes.h"
|
#include "main/mtypes.h"
|
||||||
#include "macros.h"
|
#include "main/macros.h"
|
||||||
#include "enums.h"
|
#include "main/enums.h"
|
||||||
#include "vbo_split.h"
|
#include "vbo_split.h"
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user