diff options
author | Brian <[email protected]> | 2007-09-21 11:34:28 -0600 |
---|---|---|
committer | Brian <[email protected]> | 2007-09-21 11:34:28 -0600 |
commit | a3a8887e5742bc18476deafcf45f220de89c1c1d (patch) | |
tree | 4b3f947dac178001f47a032ab2cc644fc94938ba /src/mesa | |
parent | 1ce50d8bd9a3bc64552c55a235a947de9e6f776c (diff) |
comments
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/state_tracker/st_atom_fs.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_atom_fs.c b/src/mesa/state_tracker/st_atom_fs.c index 20042fc6dcf..1e7886a4696 100644 --- a/src/mesa/state_tracker/st_atom_fs.c +++ b/src/mesa/state_tracker/st_atom_fs.c @@ -71,6 +71,9 @@ st_translate_fragment_shader(struct st_context *st, memset(&fs, 0, sizeof(fs)); + /* + * Convert Mesa program inputs to TGSI input register semantics. + */ for (attr = 0; attr < FRAG_ATTRIB_MAX; attr++) { if (inputsRead & (1 << attr)) { inputMapping[attr] = fs.num_inputs; @@ -119,7 +122,7 @@ st_translate_fragment_shader(struct st_context *st, } /* - * Outputs + * Semantics for outputs */ for (attr = 0; attr < FRAG_RESULT_MAX; attr++) { if (stfp->Base.Base.OutputsWritten & (1 << attr)) { |