|
125 | 125 | CECF83952FEF65FF00CB0CCA /* Makefile.am */ = {isa = PBXFileReference; lastKnownFileType = text; path = Makefile.am; sourceTree = "<group>"; }; |
126 | 126 | CECF83962FEF65FF00CB0CCA /* ObjectivelyGPU.pc.in */ = {isa = PBXFileReference; lastKnownFileType = text; path = ObjectivelyGPU.pc.in; sourceTree = "<group>"; }; |
127 | 127 | CECF83972FEF6A7200CB0CCA /* Mathlib.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = Mathlib.h; sourceTree = "<group>"; }; |
| 128 | + CECF83992FEF6B2400CB0CCA /* Hello.frag.msl */ = {isa = PBXFileReference; lastKnownFileType = text; path = Hello.frag.msl; sourceTree = "<group>"; }; |
| 129 | + CECF839A2FEF6B2400CB0CCA /* Hello.frag.spv */ = {isa = PBXFileReference; lastKnownFileType = file; path = Hello.frag.spv; sourceTree = "<group>"; }; |
| 130 | + CECF839B2FEF6B2400CB0CCA /* Hello.vert.msl */ = {isa = PBXFileReference; lastKnownFileType = text; path = Hello.vert.msl; sourceTree = "<group>"; }; |
| 131 | + CECF839C2FEF6B2400CB0CCA /* Hello.vert.spv */ = {isa = PBXFileReference; lastKnownFileType = file; path = Hello.vert.spv; sourceTree = "<group>"; }; |
| 132 | + CECF839D2FEF6B2400CB0CCA /* HelloCompute.comp.msl */ = {isa = PBXFileReference; lastKnownFileType = text; path = HelloCompute.comp.msl; sourceTree = "<group>"; }; |
| 133 | + CECF839E2FEF6B2400CB0CCA /* HelloCompute.comp.spv */ = {isa = PBXFileReference; lastKnownFileType = file; path = HelloCompute.comp.spv; sourceTree = "<group>"; }; |
| 134 | + CECF839F2FEF6B2400CB0CCA /* HelloCompute.frag.msl */ = {isa = PBXFileReference; lastKnownFileType = text; path = HelloCompute.frag.msl; sourceTree = "<group>"; }; |
| 135 | + CECF83A02FEF6B2400CB0CCA /* HelloCompute.frag.spv */ = {isa = PBXFileReference; lastKnownFileType = file; path = HelloCompute.frag.spv; sourceTree = "<group>"; }; |
| 136 | + CECF83A12FEF6B2400CB0CCA /* HelloCompute.vert.msl */ = {isa = PBXFileReference; lastKnownFileType = text; path = HelloCompute.vert.msl; sourceTree = "<group>"; }; |
| 137 | + CECF83A22FEF6B2400CB0CCA /* HelloCompute.vert.spv */ = {isa = PBXFileReference; lastKnownFileType = file; path = HelloCompute.vert.spv; sourceTree = "<group>"; }; |
128 | 138 | CEEAAFF72FED833A00FFEBE6 /* COPYING */ = {isa = PBXFileReference; lastKnownFileType = text; path = COPYING; sourceTree = "<group>"; }; |
129 | 139 | CEEAAFF82FED833A00FFEBE6 /* Makefile.am */ = {isa = PBXFileReference; lastKnownFileType = text; path = Makefile.am; sourceTree = "<group>"; }; |
130 | 140 | CEEAAFFA2FED833A00FFEBE6 /* README.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = "<group>"; }; |
|
295 | 305 | SC00500000000000000000A0 /* Shaders */ = { |
296 | 306 | isa = PBXGroup; |
297 | 307 | children = ( |
298 | | - SC00600000000000000000A0 /* Hello.vert.hlsl */, |
299 | 308 | SC00700000000000000000A0 /* Hello.frag.hlsl */, |
| 309 | + CECF83992FEF6B2400CB0CCA /* Hello.frag.msl */, |
| 310 | + CECF839A2FEF6B2400CB0CCA /* Hello.frag.spv */, |
| 311 | + SC00600000000000000000A0 /* Hello.vert.hlsl */, |
| 312 | + CECF839B2FEF6B2400CB0CCA /* Hello.vert.msl */, |
| 313 | + CECF839C2FEF6B2400CB0CCA /* Hello.vert.spv */, |
300 | 314 | SC00800000000000000000A0 /* HelloCompute.comp.hlsl */, |
301 | | - SC00900000000000000000A0 /* HelloCompute.vert.hlsl */, |
| 315 | + CECF839D2FEF6B2400CB0CCA /* HelloCompute.comp.msl */, |
| 316 | + CECF839E2FEF6B2400CB0CCA /* HelloCompute.comp.spv */, |
302 | 317 | SC00A00000000000000000A0 /* HelloCompute.frag.hlsl */, |
| 318 | + CECF839F2FEF6B2400CB0CCA /* HelloCompute.frag.msl */, |
| 319 | + CECF83A02FEF6B2400CB0CCA /* HelloCompute.frag.spv */, |
| 320 | + SC00900000000000000000A0 /* HelloCompute.vert.hlsl */, |
| 321 | + CECF83A12FEF6B2400CB0CCA /* HelloCompute.vert.msl */, |
| 322 | + CECF83A22FEF6B2400CB0CCA /* HelloCompute.vert.spv */, |
303 | 323 | CECF83912FEF634300CB0CCA /* Makefile.am */, |
304 | 324 | ); |
305 | 325 | path = Shaders; |
|
429 | 449 | projectRoot = ""; |
430 | 450 | targets = ( |
431 | 451 | EA25F2CECA5EE87704453CE2 /* ObjectivelyGPU */, |
| 452 | + SC00000000000000000000A0 /* ObjectivelyGPU-shadercross */, |
432 | 453 | EI03000000000000000000A1 /* ObjectivelyGPU-xcframework */, |
433 | 454 | EE00B00000000000000000B1 /* ObjectivelyGPU-Hello */, |
434 | 455 | EE00C00000000000000000B1 /* ObjectivelyGPU-HelloCompute */, |
435 | 456 | EI00F00000000000000000B1 /* ObjectivelyGPU-Hello-iOS */, |
436 | | - SC00000000000000000000A0 /* ObjectivelyGPU-shadercross */, |
437 | 457 | ); |
438 | 458 | }; |
439 | 459 | /* End PBXProject section */ |
|
505 | 525 | ); |
506 | 526 | runOnlyForDeploymentPostprocessing = 0; |
507 | 527 | shellPath = /bin/sh; |
508 | | - shellScript = "set -e\nSHADERS=\"$SRCROOT/Examples/Shaders\"\ncompile() {\n local name=$1 stage=$2 ep=$3\n shadercross \"$SHADERS/${name}.hlsl\" -s HLSL -d SPIRV -t $stage -e $ep -o \"$SHADERS/${name}.spv\"\n shadercross \"$SHADERS/${name}.hlsl\" -s HLSL -d MSL -t $stage -e $ep -o \"$SHADERS/${name}.msl\"\n}\ncompile Hello.vert vertex vs_main\ncompile Hello.frag fragment fs_main\ncompile HelloCompute.comp compute cs_main\ncompile HelloCompute.vert vertex vs_main\ncompile HelloCompute.frag fragment fs_main\n"; |
| 528 | + shellScript = "set -e\nSHADERS=\"$SRCROOT/Examples/Shaders\"\ncompile() {\n local name=$1 stage=$2 ep=$3\n shadercross \"$SHADERS/${name}.hlsl\" -s HLSL -d SPIRV -t $stage -e $ep -o \"$SHADERS/${name}.spv\"\n shadercross \"$SHADERS/${name}.hlsl\" -s HLSL -d MSL -t $stage -e $ep -o \"$SHADERS/${name}.msl\"\n}\ncompile Hello.vert vertex vs_main\ncompile Hello.frag fragment fs_main\ncompile HelloCompute.comp compute cs_main\ncompile HelloCompute.vert vertex vs_main\ncompile HelloCompute.frag fragment fs_main\n"; |
509 | 529 | showEnvVarsInLog = 0; |
510 | 530 | }; |
511 | 531 | /* End PBXShellScriptBuildPhase section */ |
|
0 commit comments