summaryrefslogtreecommitdiff
path: root/src/mesa/main/mtypes.h
diff options
context:
space:
mode:
authorBrian <brian@yutani.localnet.net>2007-02-26 18:33:50 -0700
committerBrian <brian@yutani.localnet.net>2007-02-26 18:33:50 -0700
commitfa4d0364246d24b3f86bc9a8486a9ad7db60f1b3 (patch)
tree70d5314ef45e5c2e2a0667b9310f2afd5e0b9b82 /src/mesa/main/mtypes.h
parent4f26a52908d14b753199a529fd4c24da608ead29 (diff)
Add EmitHighLevelInstructions, EmitComments booleans to gl_shader_state.
These control code generation options. May be overridden by drivers, debuggers, etc.
Diffstat (limited to 'src/mesa/main/mtypes.h')
-rw-r--r--src/mesa/main/mtypes.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index bd9198ef12..26b5c91ada 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -2104,6 +2104,8 @@ struct gl_shader_program
struct gl_shader_state
{
struct gl_shader_program *CurrentProgram; /**< The user-bound program */
+ GLboolean EmitHighLevelInstructions; /**< Driver-selectable */
+ GLboolean EmitComments; /**< Driver-selectable */
};