Skip to content

Releases: akb825/ModularShaderLanguage

Version 1.4.6

15 May 01:12

Choose a tag to compare

Updated glslang, SPIRV-Cross, and SPIRV-Tools.
Updated embedded flatbuffer headers and pre-generated flatbuffers header to the latest version.

Version 1.4.5

21 Mar 02:33

Choose a tag to compare

Updated glslang, SPIRV-Cross, and SPIRV-Tools.

Version 1.4.4

18 Jan 01:41

Choose a tag to compare

Updated glslang, SPIRV-Cross, and SPIRV-Tools.

Version 1.4.3

15 Nov 01:37

Choose a tag to compare

Updated glslang, SPIRV-Cross, and SPIRV-Tools.

Version 1.4.2

17 Aug 06:50

Choose a tag to compare

Updated glslang, SPIRV-Cross, and SPIRV-Tools.

Version 1.4.1

10 May 04:08

Choose a tag to compare

Updated glslang, SPIRV-Cross, and SPIRV-Tools.

Version 1.4.0

20 Oct 21:07

Choose a tag to compare

  • Added early_fragment_tests render 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

25 Aug 09:00

Choose a tag to compare

  • 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

31 May 06:35

Choose a tag to compare

  • Added Metal debug info unless stripped.

Version 1.2.0

27 May 08:27

Choose a tag to compare

  • 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.