Lines Matching refs:ASSERT

78    ASSERT(ctx->Color.Blend[0].EquationRGB == GL_FUNC_ADD);  in blend_noop()
79 ASSERT(ctx->Color.Blend[0].EquationA == GL_FUNC_ADD); in blend_noop()
80 ASSERT(ctx->Color.Blend[0].SrcRGB == GL_ZERO); in blend_noop()
81 ASSERT(ctx->Color.Blend[0].DstRGB == GL_ONE); in blend_noop()
104 ASSERT(ctx->Color.Blend[0].EquationRGB == GL_FUNC_ADD); in blend_replace()
105 ASSERT(ctx->Color.Blend[0].EquationA == GL_FUNC_ADD); in blend_replace()
106 ASSERT(ctx->Color.Blend[0].SrcRGB == GL_ONE); in blend_replace()
107 ASSERT(ctx->Color.Blend[0].DstRGB == GL_ZERO); in blend_replace()
128 ASSERT(ctx->Color.Blend[0].EquationRGB == GL_FUNC_ADD); in blend_transparency_ubyte()
129 ASSERT(ctx->Color.Blend[0].EquationA == GL_FUNC_ADD); in blend_transparency_ubyte()
130 ASSERT(ctx->Color.Blend[0].SrcRGB == GL_SRC_ALPHA); in blend_transparency_ubyte()
131 ASSERT(ctx->Color.Blend[0].SrcA == GL_SRC_ALPHA); in blend_transparency_ubyte()
132 ASSERT(ctx->Color.Blend[0].DstRGB == GL_ONE_MINUS_SRC_ALPHA); in blend_transparency_ubyte()
133 ASSERT(ctx->Color.Blend[0].DstA == GL_ONE_MINUS_SRC_ALPHA); in blend_transparency_ubyte()
134 ASSERT(chanType == GL_UNSIGNED_BYTE); in blend_transparency_ubyte()
151 ASSERT(r <= 255); in blend_transparency_ubyte()
152 ASSERT(g <= 255); in blend_transparency_ubyte()
153 ASSERT(b <= 255); in blend_transparency_ubyte()
154 ASSERT(a <= 255); in blend_transparency_ubyte()
173 ASSERT(ctx->Color.Blend[0].EquationRGB == GL_FUNC_ADD); in blend_transparency_ushort()
174 ASSERT(ctx->Color.Blend[0].EquationA == GL_FUNC_ADD); in blend_transparency_ushort()
175 ASSERT(ctx->Color.Blend[0].SrcRGB == GL_SRC_ALPHA); in blend_transparency_ushort()
176 ASSERT(ctx->Color.Blend[0].SrcA == GL_SRC_ALPHA); in blend_transparency_ushort()
177 ASSERT(ctx->Color.Blend[0].DstRGB == GL_ONE_MINUS_SRC_ALPHA); in blend_transparency_ushort()
178 ASSERT(ctx->Color.Blend[0].DstA == GL_ONE_MINUS_SRC_ALPHA); in blend_transparency_ushort()
179 ASSERT(chanType == GL_UNSIGNED_SHORT); in blend_transparency_ushort()
211 ASSERT(ctx->Color.Blend[0].EquationRGB == GL_FUNC_ADD); in blend_transparency_float()
212 ASSERT(ctx->Color.Blend[0].EquationA == GL_FUNC_ADD); in blend_transparency_float()
213 ASSERT(ctx->Color.Blend[0].SrcRGB == GL_SRC_ALPHA); in blend_transparency_float()
214 ASSERT(ctx->Color.Blend[0].SrcA == GL_SRC_ALPHA); in blend_transparency_float()
215 ASSERT(ctx->Color.Blend[0].DstRGB == GL_ONE_MINUS_SRC_ALPHA); in blend_transparency_float()
216 ASSERT(ctx->Color.Blend[0].DstA == GL_ONE_MINUS_SRC_ALPHA); in blend_transparency_float()
217 ASSERT(chanType == GL_FLOAT); in blend_transparency_float()
251 ASSERT(ctx->Color.Blend[0].EquationRGB == GL_FUNC_ADD); in blend_add()
252 ASSERT(ctx->Color.Blend[0].EquationA == GL_FUNC_ADD); in blend_add()
253 ASSERT(ctx->Color.Blend[0].SrcRGB == GL_ONE); in blend_add()
254 ASSERT(ctx->Color.Blend[0].DstRGB == GL_ONE); in blend_add()
292 ASSERT(chanType == GL_FLOAT); in blend_add()
316 ASSERT(ctx->Color.Blend[0].EquationRGB == GL_MIN); in blend_min()
317 ASSERT(ctx->Color.Blend[0].EquationA == GL_MIN); in blend_min()
347 ASSERT(chanType == GL_FLOAT); in blend_min()
369 ASSERT(ctx->Color.Blend[0].EquationRGB == GL_MAX); in blend_max()
370 ASSERT(ctx->Color.Blend[0].EquationA == GL_MAX); in blend_max()
400 ASSERT(chanType == GL_FLOAT); in blend_max()
453 ASSERT(chanType == GL_FLOAT); in blend_modulate()
1001 ASSERT(span->end <= SWRAST_MAX_WIDTH); in _swrast_blend_span()
1002 ASSERT(span->arrayMask & SPAN_RGBA); in _swrast_blend_span()
1003 ASSERT(!ctx->Color.ColorLogicOpEnabled); in _swrast_blend_span()