diff options
author | Brian Paul <[email protected]> | 2008-11-24 10:02:44 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-01-06 08:57:28 -0700 |
commit | dc48ae97dcd84acf691b33b0ea2e76c5fdfe18e1 (patch) | |
tree | 3381b3bbb4368e6cb605ab577a55c9c9fef2bda0 /src/gallium/include | |
parent | a48b004c442ec89905ee1dfdd778c9bca603732c (diff) |
tgsi: add tgsi_declaration fields for centroid sampling, invariant optimization
(cherry picked from commit 434e255eae90b0f3d836d452b7d3b0c5aadf78b8)
Diffstat (limited to 'src/gallium/include')
-rw-r--r-- | src/gallium/include/pipe/p_shader_tokens.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/include/pipe/p_shader_tokens.h b/src/gallium/include/pipe/p_shader_tokens.h index a562e3a6b14..d591f046fbc 100644 --- a/src/gallium/include/pipe/p_shader_tokens.h +++ b/src/gallium/include/pipe/p_shader_tokens.h @@ -85,7 +85,9 @@ struct tgsi_declaration unsigned UsageMask : 4; /* bitmask of TGSI_WRITEMASK_x flags */ unsigned Interpolate : 4; /* TGSI_INTERPOLATE_ */ unsigned Semantic : 1; /* BOOL, any semantic info? */ - unsigned Padding : 6; + unsigned Centroid : 1; /* centroid sampling */ + unsigned Invariant : 1; /* invariant optimization */ + unsigned Padding : 4; unsigned Extended : 1; /* BOOL */ }; |