Lines Matching refs:bias
47 reg->rgb[i].bias = GL_NONE;
69 reg->alpha[i].bias = GL_NONE;
315 void STATE_APIENTRY crStateCombinerOutputNV( GLenum stage, GLenum portion, GLenum abOutput, GLenum cdOutput, GLenum sumOutput, GLenum scale, GLenum bias, GLboolean abDotProduct, GLboolean cdDotProduct, GLboolean muxSum )
324 "sumOutput=0x%x scale=0x%x bias=0x%x abDotProduct=0x%x "
327 stage, portion, abOutput, cdOutput, sumOutput, scale, bias,
355 if( bias != GL_NONE && bias != GL_BIAS_BY_NEGATIVE_ONE_HALF_NV )
357 crStateError(__LINE__, __FILE__, GL_INVALID_OPERATION, "CombinerOutputNV passed bogus bias: 0x%x", bias );
361 if( bias == GL_BIAS_BY_NEGATIVE_ONE_HALF_NV && ( scale == GL_SCALE_BY_ONE_HALF_NV || scale == GL_SCALE_BY_FOUR_NV ))
363 crStateError(__LINE__, __FILE__, GL_INVALID_OPERATION, "CombinerOutputNV can't accept bias of -1/2 if scale is by 1/2 or 4" );
392 r->rgb[stage].bias = bias;
403 r->alpha[stage].bias = bias;