autodesk-forks / MaterialX

MaterialX C++ and Python libraries
http://www.materialx.org/
Apache License 2.0
107 stars 23 forks source link

MATX-328 : Avoid reserved word 'sampler' for Vulkan-compliant codegen in glsl libs #1322

Closed jerrans closed 3 years ago

jerrans commented 3 years ago

For Vulkan-compliant codegen use 'tex_sampler' as variable name instead of reserved word 'sampler' as consistent with earlier changes in other shader libs.