SPIRV-Cross/shaders-msl
Bill Hollings 8f6df770ce CompilerMSL map many GLSL functions to MSL functions.
Add bool members is_read and is_written to SPIRType::Image.
Output correct texture read/write access by marking whether textures
are read from and written to by the shader.
Override bitcast_glsl_op() to use Metal as_type<type> functions.
Add implementations of SPIR-V functions inverse(), degrees() & radians().
Map inverseSqrt() to rsqrt().
Map roundEven() to rint().
GLSL functions imageSize() and textureSize() map to equivalent
expression using MSL get_width() & get_height() functions.
Map several SPIR-V integer bitfield functions to MSL equivalents.
Map SPIR-V atomic functions to MSL equivalents.
Map texture packing and unpacking functions to MSL equivalents.
Refactor existing, and add new, image query functions.
Reorganize header lines into includes and pragmas.
Simplify type_to_glsl() logic.
Add MSL test case vert/functions.vert for added function implementations.
Add MSL test case comp/atomic.comp for added function implementations.
test_shaders.py use macOS compilation for MSL shader compilation validations.
2017-05-19 18:14:08 -04:00
..
comp CompilerMSL map many GLSL functions to MSL functions. 2017-05-19 18:14:08 -04:00
desktop-only/frag CompilerMSL map many GLSL functions to MSL functions. 2017-05-19 18:14:08 -04:00
flatten Removed Travis-killing MSL test: flatten/copy.flatten.vert. 2017-01-31 12:01:13 -05:00
frag CompilerMSL map many GLSL functions to MSL functions. 2017-05-19 18:14:08 -04:00
legacy/vert Enhance MSL testing and add numerous MSL test cases. 2017-01-30 22:55:21 -05:00
vert CompilerMSL map many GLSL functions to MSL functions. 2017-05-19 18:14:08 -04:00
vulkan Enhance MSL testing and add numerous MSL test cases. 2017-01-30 22:55:21 -05:00