/* $Id$ */
/** @file
* Global State bits operation
*/
/*
* Copyright (C) 2013 Oracle Corporation
*
* This file is part of VirtualBox Open Source Edition (OSE), as
* available from http://www.virtualbox.org. This file is free software;
* General Public License (GPL) as published by the Free Software
* Foundation, in version 2 as it comes in the "COPYING" file of the
* VirtualBox OSE distribution. VirtualBox OSE is distributed in the
* hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
*/
#include <cr_version.h>
#ifndef CRSTATE_BITS_OP
# error "CRSTATE_BITS_OP must be defined!"
#endif
#ifndef CRSTATE_BITS_OP_VERSION
#endif
do {
int i;
# error "_CRSTATE_BITS_OP_STENCIL_V_33 must no be defined!"
#endif
# define _CRSTATE_BITS_OP_STENCIL_V_33
#endif
# ifndef CRSTATE_BITS_OP_STENCIL_OP_V_33
# error "CRSTATE_BITS_OP_STENCIL_OP_V_33 undefined!"
# endif
# ifndef CRSTATE_BITS_OP_STENCIL_FUNC_V_33
# error "CRSTATE_BITS_OP_STENCIL_FUNC_V_33 undefined!"
# endif
#endif
#ifdef CR_EXT_blend_color
#endif
#if defined(CR_EXT_blend_minmax) || defined(CR_EXT_blend_subtract) || defined(CR_EXT_blend_logic_op)
#endif
#if defined(CR_EXT_blend_func_separate)
#endif
#ifdef CR_ARB_vertex_buffer_object
# ifdef CR_ARB_pixel_buffer_object
# endif
#endif
for (i=0; i<CR_MAX_TEXTURE_UNITS; i++)
{
}
#ifdef CR_NV_vertex_program
for (i=0; i<CR_MAX_VERTEX_ATTRIBS; i++)
{
}
#endif
for (i=0; i<CR_MAX_VERTEX_ATTRIBS; i++)
{
}
for (i=0; i<GLEVAL_TOT; i++)
{
}
#ifdef CR_NV_vertex_program
/*@todo Those seems to be unused?
_CRSTATE_BITS_OP_SIZEOF(eval.enableAttrib1D);
_CRSTATE_BITS_OP_SIZEOF(eval.enableAttrib2D);
*/
#endif
#ifdef CR_NV_fog_distance
#endif
#ifdef CR_EXT_fog_coord
#endif
#ifdef CR_EXT_clip_volume_hint
#endif
#ifdef CR_ARB_texture_compression
#endif
#ifdef CR_SGIS_generate_mipmap
#endif
for (i=0; i<CR_MAX_LIGHTS; ++i)
{
}
#endif
#ifdef CR_ARB_point_parameters
#endif
#ifdef CR_ARB_point_sprite
for (i=0; i<CR_MAX_TEXTURE_UNITS; ++i)
{
}
#endif
#endif
for (i=0; i<CR_MAX_VERTEX_ATTRIBS; ++i)
{
}
for (i=0; i<CR_MAX_VERTEX_PROGRAM_ENV_PARAMS; ++i)
{
}
for (i=0; i<CR_MAX_FRAGMENT_PROGRAM_ENV_PARAMS; ++i)
{
}
for (i=0; i<CR_MAX_VERTEX_PROGRAM_ENV_PARAMS/4; ++i)
{
}
for (i=0; i<CR_MAX_GENERAL_COMBINERS; ++i)
{
}
for (i = CRSTATE_STENCIL_BUFFER_REF_ID_FRONT_AND_BACK + 1; i < CRSTATE_STENCIL_BUFFER_REF_COUNT; ++i)
{
}
#else
for (i = 0; i < CRSTATE_STENCIL_BUFFER_REF_COUNT; ++i)
{
}
#endif
for (i=0; i<CR_MAX_TEXTURE_UNITS; ++i)
{
}
} while (0);