Merge pull request #10988 from HyperspaceMadness/master

Changed SLANG_NUM_BINDINGS to 16 to fix D3D11 crash
This commit is contained in:
Autechre 2020-07-08 20:20:21 +02:00 committed by GitHub
commit aa40dbd337
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -92,8 +92,8 @@ enum slang_constant_buffer
SLANG_CBUFFER_MAX
};
/* Vulkan minimum limit. */
#define SLANG_NUM_BINDINGS 32
/* Vulkan maximum texture bindings inside shader. D3D11 has hard limit of 16 */
#define SLANG_NUM_BINDINGS 16
struct slang_texture_semantic_map
{