diff options
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_program.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_program.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_program.c b/src/mesa/drivers/dri/i965/brw_program.c index 9a517be0b34..90844e5fa77 100644 --- a/src/mesa/drivers/dri/i965/brw_program.c +++ b/src/mesa/drivers/dri/i965/brw_program.c @@ -2,7 +2,7 @@ Copyright (C) Intel Corp. 2006. All Rights Reserved. Intel funded Tungsten Graphics (http://www.tungstengraphics.com) to develop this 3D driver. - + Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including @@ -10,11 +10,11 @@ distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - + The above copyright notice and this permission notice (including the next paragraph) shall be included in all copies or substantial portions of the Software. - + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. @@ -22,13 +22,13 @@ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - + **********************************************************************/ /* * Authors: * Keith Whitwell <[email protected]> */ - + #include <pthread.h> #include "main/imports.h" #include "main/enums.h" @@ -53,13 +53,13 @@ get_new_program_id(struct intel_screen *screen) } static void brwBindProgram( struct gl_context *ctx, - GLenum target, + GLenum target, struct gl_program *prog ) { struct brw_context *brw = brw_context(ctx); switch (target) { - case GL_VERTEX_PROGRAM_ARB: + case GL_VERTEX_PROGRAM_ARB: brw->state.dirty.brw |= BRW_NEW_VERTEX_PROGRAM; break; case MESA_GEOMETRY_PROGRAM: @@ -72,7 +72,7 @@ static void brwBindProgram( struct gl_context *ctx, } static struct gl_program *brwNewProgram( struct gl_context *ctx, - GLenum target, + GLenum target, GLuint id ) { struct brw_context *brw = brw_context(ctx); @@ -237,7 +237,7 @@ brw_get_scratch_bo(struct brw_context *brw, void brwInitFragProgFuncs( struct dd_function_table *functions ) { - assert(functions->ProgramStringNotify == _tnl_program_string); + assert(functions->ProgramStringNotify == _tnl_program_string); functions->BindProgram = brwBindProgram; functions->NewProgram = brwNewProgram; |