diff options
author | michal <michal@michal-laptop.(none)> | 2007-08-15 13:55:22 +0100 |
---|---|---|
committer | michal <michal@michal-laptop.(none)> | 2007-08-15 13:55:22 +0100 |
commit | b9eeb8dccff3b440a299f19a0868a3ff1cda1e09 (patch) | |
tree | c2d7cd17956065e1af16d1d85e843d96b5321101 /src/mesa/pipe/tgsi/core/tgsi_build.h | |
parent | 6504dc31782ae8087a21607a84283ebe93c1c344 (diff) |
Add declaration_semantic token to TGSI.
Cosmetic changes, GLuint -> unsigned.
Preserve mesa gl_fragment_program DEPTH and COLOR semantics.
Diffstat (limited to 'src/mesa/pipe/tgsi/core/tgsi_build.h')
-rw-r--r-- | src/mesa/pipe/tgsi/core/tgsi_build.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/mesa/pipe/tgsi/core/tgsi_build.h b/src/mesa/pipe/tgsi/core/tgsi_build.h index 8b5db5662c..b3eb0715ee 100644 --- a/src/mesa/pipe/tgsi/core/tgsi_build.h +++ b/src/mesa/pipe/tgsi/core/tgsi_build.h @@ -39,6 +39,7 @@ tgsi_build_declaration( unsigned file, unsigned declare, unsigned interpolate, + unsigned semantic, struct tgsi_header *header ); struct tgsi_full_declaration @@ -73,6 +74,16 @@ tgsi_build_declaration_interpolation( struct tgsi_declaration *declaration, struct tgsi_header *header ); +struct tgsi_declaration_semantic +tgsi_default_declaration_semantic( void ); + +struct tgsi_declaration_semantic +tgsi_build_declaration_semantic( + unsigned semantic_name, + unsigned semantic_index, + struct tgsi_declaration *declaration, + struct tgsi_header *header ); + /* * immediate */ |