blob: 719b211ec44d6b61a76b91c063b88cada55fd82f [file] [log] [blame]
Michal Krolc1fe4692004-10-27 17:09:10 +00001/*
2 * Mesa 3-D graphics library
3 * Version: 6.1
4 *
5 * Copyright (C) 2004 Brian Paul All Rights Reserved.
6 *
7 * Permission is hereby granted, free of charge, to any person obtaining a
8 * copy of this software and associated documentation files (the "Software"),
9 * to deal in the Software without restriction, including without limitation
10 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
11 * and/or sell copies of the Software, and to permit persons to whom the
12 * Software is furnished to do so, subject to the following conditions:
13 *
14 * The above copyright notice and this permission notice shall be included
15 * in all copies or substantial portions of the Software.
16 *
17 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
18 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
20 * BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
21 * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
22 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
23 */
24
25
26#include "glheader.h"
27#include "shaderobjects.h"
28#include "mtypes.h"
29#include "context.h"
30#include "macros.h"
31
32void GLAPIENTRY
33_mesa_DeleteObjectARB(GLhandleARB obj)
34{
35}
36
37GLhandleARB GLAPIENTRY
38_mesa_GetHandleARB(GLenum pname)
39{
40 return 0;
41}
42
43void GLAPIENTRY
44_mesa_DetachObjectARB (GLhandleARB containerObj, GLhandleARB attachedObj)
45{
46}
47
48GLhandleARB GLAPIENTRY
49_mesa_CreateShaderObjectARB (GLenum shaderType)
50{
51 return 0;
52}
53
54void GLAPIENTRY
55_mesa_ShaderSourceARB (GLhandleARB shaderObj, GLsizei count,
56 const GLcharARB **string, const GLint *length)
57{
58}
59
60void GLAPIENTRY
61_mesa_CompileShaderARB (GLhandleARB shaderObj)
62{
63}
64
65GLhandleARB GLAPIENTRY
66_mesa_CreateProgramObjectARB (void)
67{
68 return 0;
69}
70
71void GLAPIENTRY
72_mesa_AttachObjectARB (GLhandleARB containerObj, GLhandleARB obj)
73{
74}
75
76void GLAPIENTRY
77_mesa_LinkProgramARB (GLhandleARB programObj)
78{
79}
80
Brian Paul59651a02004-11-26 13:34:45 +000081#if 0
Michal Krolc1fe4692004-10-27 17:09:10 +000082GLboolean
83_mesa_use_program_object( GLcontext *ctx, struct gl_program_object *pobj )
84{
85 return GL_FALSE;
86}
Brian Paul59651a02004-11-26 13:34:45 +000087#endif
Michal Krolc1fe4692004-10-27 17:09:10 +000088
89void GLAPIENTRY
90_mesa_UseProgramObjectARB (GLhandleARB programObj)
91{
92}
93
94void GLAPIENTRY
95_mesa_ValidateProgramARB (GLhandleARB programObj)
96{
97}
98
99void GLAPIENTRY
100_mesa_Uniform1fARB (GLint location, GLfloat v0)
101{
102}
103
104void GLAPIENTRY
105_mesa_Uniform2fARB (GLint location, GLfloat v0, GLfloat v1)
106{
107}
108
109void GLAPIENTRY
110_mesa_Uniform3fARB (GLint location, GLfloat v0, GLfloat v1, GLfloat v2)
111{
112}
113
114void GLAPIENTRY
115_mesa_Uniform4fARB (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3)
116{
117}
118
119void GLAPIENTRY
120_mesa_Uniform1iARB (GLint location, GLint v0)
121{
122}
123
124void GLAPIENTRY
125_mesa_Uniform2iARB (GLint location, GLint v0, GLint v1)
126{
127}
128
129void GLAPIENTRY
130_mesa_Uniform3iARB (GLint location, GLint v0, GLint v1, GLint v2)
131{
132}
133
134void GLAPIENTRY
135_mesa_Uniform4iARB (GLint location, GLint v0, GLint v1, GLint v2, GLint v3)
136{
137}
138
139void GLAPIENTRY
140_mesa_Uniform1fvARB (GLint location, GLsizei count, const GLfloat *value)
141{
142}
143
144void GLAPIENTRY
145_mesa_Uniform2fvARB (GLint location, GLsizei count, const GLfloat *value)
146{
147}
148
149void GLAPIENTRY
150_mesa_Uniform3fvARB (GLint location, GLsizei count, const GLfloat *value)
151{
152}
153
154void GLAPIENTRY
155_mesa_Uniform4fvARB (GLint location, GLsizei count, const GLfloat *value)
156{
157}
158
159void GLAPIENTRY
160_mesa_Uniform1ivARB (GLint location, GLsizei count, const GLint *value)
161{
162}
163
164void GLAPIENTRY
165_mesa_Uniform2ivARB (GLint location, GLsizei count, const GLint *value)
166{
167}
168
169void GLAPIENTRY
170_mesa_Uniform3ivARB (GLint location, GLsizei count, const GLint *value)
171{
172}
173
174void GLAPIENTRY
175_mesa_Uniform4ivARB (GLint location, GLsizei count, const GLint *value)
176{
177}
178
179void GLAPIENTRY
180_mesa_UniformMatrix2fvARB (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
181{
182}
183
184void GLAPIENTRY
185_mesa_UniformMatrix3fvARB (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
186{
187}
188
189void GLAPIENTRY
190_mesa_UniformMatrix4fvARB (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
191{
192}
193
194void GLAPIENTRY
195_mesa_GetObjectParameterfvARB (GLhandleARB obj, GLenum pname, GLfloat *params)
196{
197}
198
199void GLAPIENTRY
200_mesa_GetObjectParameterivARB (GLhandleARB obj, GLenum pname, GLint *params)
201{
202}
203
204void GLAPIENTRY
205_mesa_GetInfoLogARB (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *infoLog)
206{
207}
208
209void GLAPIENTRY
210_mesa_GetAttachedObjectsARB (GLhandleARB containerObj, GLsizei maxCount, GLsizei *count, GLhandleARB *obj)
211{
212}
213
214GLint GLAPIENTRY
215_mesa_GetUniformLocationARB (GLhandleARB programObj, const GLcharARB *name)
216{
217 return -1;
218}
219
220void GLAPIENTRY
221_mesa_GetActiveUniformARB (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name)
222{
223}
224
225void GLAPIENTRY
226_mesa_GetUniformfvARB (GLhandleARB programObj, GLint location, GLfloat *params)
227{
228}
229
230void GLAPIENTRY
231_mesa_GetUniformivARB (GLhandleARB programObj, GLint location, GLint *params)
232{
233}
234
235void GLAPIENTRY
236_mesa_GetShaderSourceARB (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *source)
237{
238}
239
240/* GL_ARB_vertex_shader */
241
242void GLAPIENTRY
243_mesa_BindAttribLocationARB (GLhandleARB programObj, GLuint index, const GLcharARB *name)
244{
245}
246
247void GLAPIENTRY
248_mesa_GetActiveAttribARB (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name)
249{
250}
251
252GLint GLAPIENTRY
253_mesa_GetAttribLocationARB (GLhandleARB programObj, const GLcharARB *name)
254{
255 return 0;
256}
257
258void _mesa_init_shaderobjects( GLcontext * ctx )
259{
260}