summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorTim Foley <tfoley@nvidia.com>2017-07-07 13:15:08 -0700
committerTim Foley <tfoley@nvidia.com>2017-07-07 13:15:08 -0700
commit20ac581f09a9451f7c84cb0a1ae8764f5e9349be (patch)
treedc373bfa94c813e97700ff1513ada772a87f96d8 /examples
parentc0bcb9c358e22a5c61c3efe77a14a368632bac70 (diff)
Add GLSL equivalents for some stdlib operations.
- Map HLSL `atan2(y,x)` to GLSL `atan(y,x)` - Add support for `$p` escape in `__intrinsic` modifier, which allows generating GLSL texture-sampler pairs more easily - Also added a `$o` escape to represent the base object in an OOP-style call (`obj.F(...)`) - This isn't used in the texture functions right now, because getting the right GLSL texture type in this context is a bit thorny (the prefix depends on the generic parameter being used) - Used the `$p` capability to add mappings for `SampleBias` and `SampleLevel`
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions