Releases: akb825/ModularShaderLanguage
Releases · akb825/ModularShaderLanguage
Version 1.4.6
Updated glslang, SPIRV-Cross, and SPIRV-Tools.
Updated embedded flatbuffer headers and pre-generated flatbuffers header to the latest version.
Version 1.4.5
Updated glslang, SPIRV-Cross, and SPIRV-Tools.
Version 1.4.4
Updated glslang, SPIRV-Cross, and SPIRV-Tools.
Version 1.4.3
Updated glslang, SPIRV-Cross, and SPIRV-Tools.
Version 1.4.2
Updated glslang, SPIRV-Cross, and SPIRV-Tools.
Version 1.4.1
Updated glslang, SPIRV-Cross, and SPIRV-Tools.
Version 1.4.0
- Added
early_fragment_testsrender state. This enables early fragment tests for targets that support it, and is especially important for Vulkan where there's no implicit enabling of early fragment tests. Unlike other render states, this only affects the shader code and isn't embedded in the file. - Optimizations are now done through SPIRV-Tools, which does much more than the remap tool. An optimization level can now be passed to mslc to do just dead code elimination or full optimization.
- Updated glslang and SPIRV-Cross.
Version 1.3.0
- Improved version number defines.
- Now has a METAL_VERSION define that's set for both OS X and iOS. The OS X and iOS specific versions are still defined.
- SPIR-V and Metal versions now have the 100s digit as the major version and 10s and 1s digit for the minor version. This allows encoding of versions where the minor version is >= 10. For example, 1.4 is encoded as 104, while 1.12 is encoded as 112.
- SPIR-V version now reports the version that glslang compiles it to. (currently 1.4)
- Added support for gl_ClipDistance and gl_CullDistance arrays.
- Added fields to the render state to store the array lengths. This can be used in client code to verify it's supported or adjust the render state. (such as with OpenGL)
- Added defines to determine if the builtin variables are supported for the shader version being compiled to.
- Fixed outputting of compute local size when multiple pipelines are placed in the same module.
- Updated glslang and SPIRV-Cross.
Version 1.2.1
- Added Metal debug info unless stripped.
Version 1.2.0
- Exposed the compute local group size.
- Exposed whether or not a specific shader uses push constants.
- Added function to query a shader uniform ID. This will be the buffer or texture index to bind to for Metal, or the SPIR-V variable ID for SPIR-V.
- Added more constants for metal-specific indices.
- Updated glslang and SPIRV-Cross.