summaryrefslogtreecommitdiff
path: root/src/VBox/HostServices/SharedOpenGL/unpacker/unpack_regcombiner.c
blob: 9ebd777f9a20e6276f512bbf5ac60fd783525f86 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/* Copyright (c) 2001, Stanford University
 * All rights reserved
 *
 * See the file LICENSE.txt for information on redistributing this software.
 */

#include "unpacker.h"

void crUnpackExtendCombinerParameterfvNV( void  )
{
	GLenum pname = READ_DATA( sizeof( int ) + 4, GLenum );
	GLfloat *params = DATA_POINTER( sizeof( int ) + 8, GLfloat );

	cr_unpackDispatch.CombinerParameterfvNV( pname, params );
        /* Don't call INCR_VAR_PTR(); - it's done in crUnpackExtend() */
}

void crUnpackExtendCombinerParameterivNV( void  )
{
	GLenum pname = READ_DATA( sizeof( int ) + 4, GLenum );
	GLint *params = DATA_POINTER( sizeof( int ) + 8, GLint );

	cr_unpackDispatch.CombinerParameterivNV( pname, params );
        /* Don't call INCR_VAR_PTR(); - it's done in crUnpackExtend() */
}

void crUnpackExtendCombinerStageParameterfvNV( void  )
{
	GLenum stage = READ_DATA( sizeof( int ) + 4, GLenum );
	GLenum pname = READ_DATA( sizeof( int ) + 8, GLenum );
	GLfloat *params = DATA_POINTER( sizeof( int ) + 12, GLfloat );

	cr_unpackDispatch.CombinerStageParameterfvNV( stage, pname, params );
        /* Don't call INCR_VAR_PTR(); - it's done in crUnpackExtend() */
}