diff options
| author | Tim Foley <tfoleyNV@users.noreply.github.com> | 2018-06-04 15:12:56 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-06-04 15:12:56 -0700 |
| commit | 8b16bbf64a082d30d496453f948f65605e58a014 (patch) | |
| tree | e9e2e40a31c5bdcf6d6ce3decece5129a25021df /tools | |
| parent | 698ba86962d10d927d7ac4eb781e05e33f08c9eb (diff) | |
Emit directives to control matrix layout (#590)
The HLSL/GLSL output by Slang should try to be robust against whatever flags somebody uses to compile it. Therefore, we will go ahead and output a target-language-specific directive to control the default matrix layout mode so that we can override whatever might be specified via flags.
Also, as long as we are at it, this change goes ahead and makes Slang unconditionally emit row/column-major layout modifiers on all matrices (and arrays of matrices) whereas before these were only being output sometimes (the code to do it seemed buggy to me...).
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions
