From 1643471da0d6239177d11b0301c26d1adf95c0fb Mon Sep 17 00:00:00 2001 From: Ellie Hermaszewska Date: Wed, 16 Nov 2022 09:49:06 +0800 Subject: Mesh shader support (#2464) * Add gdb generated files to .gitignore * Switch to c++17 TODO: Ellie update coding style doc * WIP mesh shaders * Add MeshOutputType and mesh output decorations * Lift array type layout creation out of _createTypeLayout in preparation for sharing it elsewhere * Initial pass at GLSL legalization for mesh shaders * Create output types for builtin mesh outputs This should be rendered as an out paramter block * Handle writes to member fields in mesh shader output * Per primitive output from mesh shaders * Add mesh shader tests * Redeclare mesh output builtins * Remove unused instruction * Emit explicit mesh output max max size * Add unimplemented warning for array members in mesh output * Implement mesh output splitting for GLSL in terms of getSubscriptVal * Allow HLSL syntax for mesh output modifiers * Improve error messages for mesh output * Add test for HLSL style mesh output syntax * Emit explicit mesh output indices max size * HLSL generation support for mesh shaders * Better errors for mesh shader misuse * Neaten comments * Regenerate vs2019 project files * Fix build on vs2019 * Retreat on c++17 Will make the change in a separate PR * slang-glslang binary dep 11.10.0 -> 11.12.0-32 * Fixes for msvc compiler * Update msvc project --- deps/target-deps.json | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'deps') diff --git a/deps/target-deps.json b/deps/target-deps.json index e195d41db..8ac59f335 100644 --- a/deps/target-deps.json +++ b/deps/target-deps.json @@ -16,16 +16,16 @@ }, { "name" : "slang-glslang", - "baseUrl" : "https://github.com/shader-slang/slang-glslang/releases/download/v11.10.0/", + "baseUrl" : "https://github.com/shader-slang/slang-glslang/releases/download/v11.12.0-32/", "optional" : true, "packages" : { - "windows-x86_64" : { "type" : "url", "path" : "slang-glslang-11.10.0-windows-x64-release.zip" }, - "windows-x86" : { "type": "url", "path" : "slang-glslang-11.10.0-windows-win32-release.zip" }, - "linux-x86_64" : { "type": "url", "path" : "slang-glslang-11.10.0-linux-x64-release.zip" }, - "linux-x86" : { "type": "url", "path" : "slang-glslang-11.10.0-linux-x86-release.zip" }, - "macosx-x86_64" : { "type": "url", "path" : "slang-glslang-11.10.0-macosx-x86_64-release.zip" }, - "windows-aarch64" : { "type" : "url", "path" : "slang-glslang-11.10.0-windows-aarch64-release.zip" } + "windows-x86_64" : { "type" : "url", "path" : "slang-glslang-11.12.0-32-windows-x64-release.zip" }, + "windows-x86" : { "type": "url", "path" : "slang-glslang-11.12.0-32-windows-win32-release.zip" }, + "linux-x86_64" : { "type": "url", "path" : "slang-glslang-11.12.0-32-linux-x64-release.zip" }, + "linux-x86" : { "type": "url", "path" : "slang-glslang-11.12.0-32-linux-x86-release.zip" }, + "macosx-x86_64" : { "type": "url", "path" : "slang-glslang-11.12.0-32-macosx-x86_64-release.zip" }, + "windows-aarch64" : { "type" : "url", "path" : "slang-glslang-11.12.0-32-windows-aarch64-release.zip" } } }, { -- cgit v1.2.3