Home | History | Annotate | Download | only in r200

Lines Matching defs:CHECK

217  * Check functions are used to check if state is active.
218 * If it is active check function returns maximum emit size.
220 #define CHECK( NM, FLAG, ADD ) \
250 CHECK( always, GL_TRUE, 0 )
251 CHECK( always_add4, GL_TRUE, 4 )
252 CHECK( never, GL_FALSE, 0 )
253 CHECK( tex_any, ctx->Texture._MaxEnabledTexImageUnit != -1, 0 )
254 CHECK( tf, (ctx->Texture._MaxEnabledTexImageUnit != -1 && !ctx->ATIFragmentShader._Enabled), 0 );
255 CHECK( pix_zero, !ctx->ATIFragmentShader._Enabled, 0 )
256 CHECK( texenv, (rmesa->state.envneeded & (1 << (atom->idx)) && !ctx->ATIFragmentShader._Enabled), 0 )
257 CHECK( afs_pass1, (ctx->ATIFragmentShader._Enabled && (ctx->ATIFragmentShader.Current->NumPasses > 1)), 0 )
258 CHECK( afs, ctx->ATIFragmentShader._Enabled, 0 )
259 CHECK( tex_cube, rmesa->state.texture.unit[atom->idx].unitneeded & TEXTURE_CUBE_BIT, 3 + 3*5 - CUBE_STATE_SIZE )
260 CHECK( tex_cube_cs, rmesa->state.texture.unit[atom->idx].unitneeded & TEXTURE_CUBE_BIT, 2 + 4*5 - CUBE_STATE_SIZE )
346 uint32_t dwords = atom->check(ctx, atom);
358 uint32_t dwords = atom->check(ctx, atom);
370 uint32_t dwords = atom->check(ctx, atom);
382 uint32_t dwords = atom->check(ctx, atom);
391 uint32_t dwords = atom->check(ctx, atom);
403 uint32_t dwords = atom->check(ctx, atom);
442 uint32_t dwords = atom->check(ctx, atom);
568 uint32_t dwords = atom->check(ctx, atom);
597 uint32_t dwords = atom->check(ctx, atom);
637 rmesa->hw.ATOM.check = check_##CHK; \
640 rmesa->hw.ATOM.check = NULL; \
651 rmesa->hw.ctx.check = check_always_ctx;
697 rmesa->hw.cube[i].check = check_tex_cube_cs;