Bill Hollings
5aafb28cc7
Track sampler ID in Meta for OpSampledImage objects.
...
Add virtual CompilerGLSL emit_sampled_image_op function for OpSampledImage.
Under MSL, set sampler ID for local OpSampledImage objects and extract it when emitting sampler.
2016-04-23 21:47:41 -04:00
Bill Hollings
2570121582
Merge branch 'master' of https://github.com/KhronosGroup/SPIRV-Cross
2016-04-19 10:14:01 -04:00
Hans-Kristian Arntzen
7652c90802
Add support for separate samplers and textures.
...
This will not really make sense for plain GLSL/ESSL target, but other
backends might want it and useful to have for debugging.
2016-04-19 11:13:47 +02:00
Bill Hollings
d7660fa129
Merge branch 'master' of https://github.com/KhronosGroup/SPIRV-Cross
2016-04-18 22:41:58 -04:00
Hans-Kristian Arntzen
b424851706
Fix floating point OpMod.
...
Floating point mod uses separate builtin in GLSL.
2016-04-16 09:25:14 +02:00
Bill Hollings
6236cc79f0
Merge branch 'master' of https://github.com/KhronosGroup/SPIRV-Cross
2016-04-11 13:35:14 -04:00
Hans-Kristian Arntzen
5ac882765d
Avoid out of range access to spirv data.
...
Avoids debug assertion crashes on MSVC 2015 when trying to access
elements out of range.
2016-04-11 13:40:36 +02:00
Bill Hollings
103aabf5e8
Initial support for Metal Shading Language.
2016-04-06 17:42:27 -04:00
Hans-Kristian Arntzen
147e53aeb2
Rename project to SPIRV-Cross.
...
Rename to coincide with moving the project to KhronosGroup.
2016-04-04 15:42:30 +02:00