diff options
author | Aapo Tahkola <[email protected]> | 2005-03-18 14:44:27 +0000 |
---|---|---|
committer | Aapo Tahkola <[email protected]> | 2005-03-18 14:44:27 +0000 |
commit | 6bd390743da6e01410f3fc124d79956629e2a6f2 (patch) | |
tree | 0ebe32a26233b0cd84187158d85cca802bb7fa42 /src/mesa/drivers/dri/r300/r300_context.h | |
parent | 2fb2e27e28569371bd0d12aa74504d53bb04edc0 (diff) |
Misc fixes.
Diffstat (limited to 'src/mesa/drivers/dri/r300/r300_context.h')
-rw-r--r-- | src/mesa/drivers/dri/r300/r300_context.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_context.h b/src/mesa/drivers/dri/r300/r300_context.h index 9075f6321fe..13c6fb03b91 100644 --- a/src/mesa/drivers/dri/r300/r300_context.h +++ b/src/mesa/drivers/dri/r300/r300_context.h @@ -566,6 +566,9 @@ struct r300_vertex_shader_state { int unknown_ptr3; /* pointer within program space */ }; +#define VERTPROG_ACTIVE(ctx) ( ctx->VertexProgram._Enabled && (R300_CONTEXT(ctx)->current_vp != NULL) && \ + (R300_CONTEXT(ctx)->current_vp->translated) ) + /* r300_vertex_shader_state and r300_vertex_program should probably be merged together someday. * Keeping them them seperate for now should ensure fixed pipeline keeps functioning properly. */ |