Skip to content

Commit b5fa7eb

Browse files
MSL: Remap resources based on descriptor set bindings (#30)
1 parent 1897239 commit b5fa7eb

File tree

3 files changed

+488
-14
lines changed

3 files changed

+488
-14
lines changed

include/SDL3_gpu_shadercross/SDL_gpu_shadercross.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,8 @@ extern SDL_DECLSPEC SDL_GPUShaderFormat SDLCALL SDL_ShaderCross_GetSPIRVShaderFo
8888
extern SDL_DECLSPEC void * SDLCALL SDL_ShaderCross_TranspileMSLFromSPIRV(
8989
const Uint8 *bytecode,
9090
size_t bytecodeSize,
91-
const char *entrypoint);
91+
const char *entrypoint,
92+
SDL_ShaderCross_ShaderStage shaderStage);
9293

9394
/**
9495
* Transpile to HLSL code from SPIRV code.

0 commit comments

Comments
 (0)