blob: 1bfebe973b21f650cc816ab66452d0ce18fbcc23 [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
81GLboolean
82_mesa_use_program_object( GLcontext *ctx, struct gl_program_object *pobj )
83{
84 return GL_FALSE;
85}
86
87void GLAPIENTRY
88_mesa_UseProgramObjectARB (GLhandleARB programObj)
89{
90}
91
92void GLAPIENTRY
93_mesa_ValidateProgramARB (GLhandleARB programObj)
94{
95}
96
97void GLAPIENTRY
98_mesa_Uniform1fARB (GLint location, GLfloat v0)
99{
100}
101
102void GLAPIENTRY
103_mesa_Uniform2fARB (GLint location, GLfloat v0, GLfloat v1)
104{
105}
106
107void GLAPIENTRY
108_mesa_Uniform3fARB (GLint location, GLfloat v0, GLfloat v1, GLfloat v2)
109{
110}
111
112void GLAPIENTRY
113_mesa_Uniform4fARB (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3)
114{
115}
116
117void GLAPIENTRY
118_mesa_Uniform1iARB (GLint location, GLint v0)
119{
120}
121
122void GLAPIENTRY
123_mesa_Uniform2iARB (GLint location, GLint v0, GLint v1)
124{
125}
126
127void GLAPIENTRY
128_mesa_Uniform3iARB (GLint location, GLint v0, GLint v1, GLint v2)
129{
130}
131
132void GLAPIENTRY
133_mesa_Uniform4iARB (GLint location, GLint v0, GLint v1, GLint v2, GLint v3)
134{
135}
136
137void GLAPIENTRY
138_mesa_Uniform1fvARB (GLint location, GLsizei count, const GLfloat *value)
139{
140}
141
142void GLAPIENTRY
143_mesa_Uniform2fvARB (GLint location, GLsizei count, const GLfloat *value)
144{
145}
146
147void GLAPIENTRY
148_mesa_Uniform3fvARB (GLint location, GLsizei count, const GLfloat *value)
149{
150}
151
152void GLAPIENTRY
153_mesa_Uniform4fvARB (GLint location, GLsizei count, const GLfloat *value)
154{
155}
156
157void GLAPIENTRY
158_mesa_Uniform1ivARB (GLint location, GLsizei count, const GLint *value)
159{
160}
161
162void GLAPIENTRY
163_mesa_Uniform2ivARB (GLint location, GLsizei count, const GLint *value)
164{
165}
166
167void GLAPIENTRY
168_mesa_Uniform3ivARB (GLint location, GLsizei count, const GLint *value)
169{
170}
171
172void GLAPIENTRY
173_mesa_Uniform4ivARB (GLint location, GLsizei count, const GLint *value)
174{
175}
176
177void GLAPIENTRY
178_mesa_UniformMatrix2fvARB (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
179{
180}
181
182void GLAPIENTRY
183_mesa_UniformMatrix3fvARB (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
184{
185}
186
187void GLAPIENTRY
188_mesa_UniformMatrix4fvARB (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
189{
190}
191
192void GLAPIENTRY
193_mesa_GetObjectParameterfvARB (GLhandleARB obj, GLenum pname, GLfloat *params)
194{
195}
196
197void GLAPIENTRY
198_mesa_GetObjectParameterivARB (GLhandleARB obj, GLenum pname, GLint *params)
199{
200}
201
202void GLAPIENTRY
203_mesa_GetInfoLogARB (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *infoLog)
204{
205}
206
207void GLAPIENTRY
208_mesa_GetAttachedObjectsARB (GLhandleARB containerObj, GLsizei maxCount, GLsizei *count, GLhandleARB *obj)
209{
210}
211
212GLint GLAPIENTRY
213_mesa_GetUniformLocationARB (GLhandleARB programObj, const GLcharARB *name)
214{
215 return -1;
216}
217
218void GLAPIENTRY
219_mesa_GetActiveUniformARB (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name)
220{
221}
222
223void GLAPIENTRY
224_mesa_GetUniformfvARB (GLhandleARB programObj, GLint location, GLfloat *params)
225{
226}
227
228void GLAPIENTRY
229_mesa_GetUniformivARB (GLhandleARB programObj, GLint location, GLint *params)
230{
231}
232
233void GLAPIENTRY
234_mesa_GetShaderSourceARB (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *source)
235{
236}
237
238/* GL_ARB_vertex_shader */
239
240void GLAPIENTRY
241_mesa_BindAttribLocationARB (GLhandleARB programObj, GLuint index, const GLcharARB *name)
242{
243}
244
245void GLAPIENTRY
246_mesa_GetActiveAttribARB (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name)
247{
248}
249
250GLint GLAPIENTRY
251_mesa_GetAttribLocationARB (GLhandleARB programObj, const GLcharARB *name)
252{
253 return 0;
254}
255
256void _mesa_init_shaderobjects( GLcontext * ctx )
257{
258}