* Add Metal Shading Language version options to shaderc. Reference version options from: https://developer.apple.com/documentation/metal/mtllanguageversion?language=objc
Add configuration options for MSL compiler based on MSL version and Platform
Configure MSL->SPIR-V version configuration based on when ray tracing types become available
Set default metal compiler option to be metal 1.2, which is the default version assigned in the current SPIRV-Cross being used
* Add Metal Shading Language version options to shaderc. Reference version options from: https://developer.apple.com/documentation/metal/mtllanguageversion?language=objc
Add configuration options for MSL compiler based on MSL version and Platform
Configure MSL->SPIR-V version configuration based on when ray tracing types become available
Set default metal compiler option to be metal 1.2, which is the default version assigned in the current SPIRV-Cross being used
* Group ios and osx platform code paths
Reduce the size of temp buffer used in writing the MSL preprocessor define
Fix a compiler warning about size_t to int32_t truncation
Adjust whitespace in usage text
* Remove indented scope left-over from branch condition removal
* Remove some testing code
* Adjust whitespace for function arguments
* Replace BX_ASSERT with bx::write to message handler in spirv generation
Add configuration options for MSL compiler based on MSL version and Platform
Configure MSL->SPIR-V version configuration based on when ray tracing types become available
Set default metal compiler option to be metal 1.2, which is the default version assigned in the current SPIRV-Cross being used
* Fixed issue where printing profile names prints unreadable characters
* Use %S for StringLitera.
---------
Co-authored-by: Бранимир Караџић <branimirkaradzic@gmail.com>
* Add pointsize to SPIRV-Cross output before writing
Adds
float bgfx_metal_pointSize [[point_size]] = 1;
to xlatMtlMain_out, ensuring that it always has a value.
* Update shaderc_metal.cpp
Only apply patch to vertex shaders
* Write messages to a stream specified by the caller of compilerShader rather than directly to stdOut, to allow tool writers to easily capture it.
* PR updates
* Missed a write
* PR updates
- add support for Vulkan 1.3 using SPIR-V 1.6 as a profile target
- move ordering of help information of SPIR-V block
- update SPIR-V to Vulkan mapping documentation
* shaderc HLSL profile switch fix
* shader makefiles changed to match new hlsl profile switches
Co-authored-by: Ali Seyedof <ali.seyedof@xyzreality.com>
* Reworded & reformatted bgfx.rst for better clarity
* Reworded for clarity; made option format more consistent
* Added one character!
* Updated shaderc help
Will update docs to 100% match soon
* Updated geometryc's help
Co-authored-by: Бранимир Караџић <branimirkaradzic@gmail.com>