diff options
author | Eric Anholt <eric@anholt.net> | 2009-09-24 11:58:33 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2009-09-24 13:34:06 -0700 |
commit | 726a04a2cd1bf159a6c40584b4b2b9bc5948a82e (patch) | |
tree | c008dc09ea2e22feac5246d2301332219855828a /src/mesa/main/mtypes.h | |
parent | a9a47afe7e87075432ce2d393b55409fcb7149ac (diff) |
i965: Emit zero initialization for NV VP temporaries as required.
This is similar to what r300 does inside the driver, but I've added it as
a generic option since it seems most hardware will want it.
Fixes piglit nv-init-zero-reg.vpfp and nv-init-zero-addr.vpfp.
Diffstat (limited to 'src/mesa/main/mtypes.h')
-rw-r--r-- | src/mesa/main/mtypes.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h index 6b64bf8139..f8e4e41583 100644 --- a/src/mesa/main/mtypes.h +++ b/src/mesa/main/mtypes.h @@ -2079,6 +2079,7 @@ struct gl_shader_state GLboolean EmitContReturn; /**< Emit CONT/RET opcodes? */ GLboolean EmitCondCodes; /**< Use condition codes? */ GLboolean EmitComments; /**< Annotated instructions */ + GLboolean EmitNVTempInitialization; /**< 0-fill NV temp registers */ void *MemPool; GLbitfield Flags; /**< Mask of GLSL_x flags */ struct gl_sl_pragmas DefaultPragmas; /**< Default #pragma settings */ |