754 lines
37 KiB
Plaintext
Raw Normal View History

2017-11-17 11:14:29 -05:00
// !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
objectVersion = 52;
2017-11-17 11:14:29 -05:00
objects = {
/* Begin PBXBuildFile section */
2020-06-09 14:52:03 -07:00
2FEA0D012490381A00EEF3AD /* SPIRVReflection.h in Headers */ = {isa = PBXBuildFile; fileRef = 450A4F5E220CB180007203D7 /* SPIRVReflection.h */; };
2FEA0D022490381A00EEF3AD /* MVKStrings.h in Headers */ = {isa = PBXBuildFile; fileRef = A98149651FB6A98A005F00B4 /* MVKStrings.h */; };
2FEA0D032490381A00EEF3AD /* SPIRVSupport.h in Headers */ = {isa = PBXBuildFile; fileRef = A9C70F5D221B321600FBA31A /* SPIRVSupport.h */; };
2FEA0D042490381A00EEF3AD /* SPIRVConversion.h in Headers */ = {isa = PBXBuildFile; fileRef = A928C9171D0488DC00071B88 /* SPIRVConversion.h */; };
2FEA0D052490381A00EEF3AD /* SPIRVToMSLConverter.h in Headers */ = {isa = PBXBuildFile; fileRef = A9093F5B1C58013E0094110D /* SPIRVToMSLConverter.h */; };
2FEA0D062490381A00EEF3AD /* MVKCommonEnvironment.h in Headers */ = {isa = PBXBuildFile; fileRef = A9F042AA1FB4D060009FCCB8 /* MVKCommonEnvironment.h */; };
2FEA0D082490381A00EEF3AD /* FileSupport.mm in Sources */ = {isa = PBXBuildFile; fileRef = A925B70A1C7754B2006E7ECD /* FileSupport.mm */; };
2FEA0D092490381A00EEF3AD /* SPIRVToMSLConverter.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A9093F5A1C58013E0094110D /* SPIRVToMSLConverter.cpp */; };
2FEA0D0A2490381A00EEF3AD /* SPIRVSupport.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A9C70F5E221B321700FBA31A /* SPIRVSupport.cpp */; };
2FEA0D0B2490381A00EEF3AD /* SPIRVConversion.mm in Sources */ = {isa = PBXBuildFile; fileRef = A928C9181D0488DC00071B88 /* SPIRVConversion.mm */; };
Add support for tessellation. At long last, tessellation comes to MoltenVK! With this change, clients will now be able to specify tessellation shaders when creating pipelines, and then draw tessellated patches with them. Unfortunately, there seem to be a few gotchas with tessellation in Metal. For one thing, tessellation pipelines in Metal are structured very differently from Vulkan. There is no tessellation control or even vertex stage. Instead, the tessellation evaluation shader takes the place of the vertex function as a "post-tessellation vertex function." The tessellation levels are supplied in a buffer to the tessellator, which you are expected to populate. The most common way to do this is by running a compute shader. MoltenVK thus runs the vertex shader and tessellation control shader by themselves; a single `VkPipeline` object then requires at least *three* `MTLPipelineState` objects. But wait, there's more! The tessellation-control-as-compute stage uses Metal's support for vertex-style stage input to a compute shader. But, this support requires one to declare indexing *ahead of time*, when the pipeline state is created. So a single `VkPipeline` object could have as many as *five* `MTLPipelineState` objects. Further, if there are more output than input control points for the tessellation control stage, then later invocations may end up fetching the wrong attributes! To get around this, this change uses index buffers to ensure that all tessellation control shaders see the correct input. Unfortunately, in the indexed draw case, this means that the incoming index buffer needs to be munged. Instancing is another pain point here. In Vulkan, as in OpenGL and Direct3D, instancing is done in the vertex shader; but in Metal, it is done at the tessellation evaluation stage. For this reason, only the vertex stage of a tessellated draw supports instancing. Additional memory is required to hold data for the extra vertices generated by instancing. This also requires still more munging of index buffers for indexed draws. Indirect draws are even more painful. Because the number of vertices and instances is unknown, storage for the maximum possible number of vertices must be allocated. This change imposes a totally arbitrary limit of 131072 vertices from a single draw, including all vertices generated by instancing. On a Mac, this requires about 194-256 MB of VRAM for all the temporary buffers. There are some possible optimizations here. If we could prove that the vertex shader's output doesn't depend on the instance ID, either directly or through a per-instance attribute, then we could avoid running the vertex and tess. control stages per instance, and take advantage of Metal's support for tess. eval instancing. If we could also prove that the vertex shader simply passes instance attributes through (similarly with the tess. control shader), we could do this for many more instanced draws as well. It should also be possible to cache the output from the tess. control stage; if the draw comes up again, we can then skip the vertex and tess. control stages entirely! Fixes #56 and #501.
2019-02-18 20:56:42 -06:00
450A4F61220CB180007203D7 /* SPIRVReflection.h in Headers */ = {isa = PBXBuildFile; fileRef = 450A4F5E220CB180007203D7 /* SPIRVReflection.h */; };
450A4F62220CB180007203D7 /* SPIRVReflection.h in Headers */ = {isa = PBXBuildFile; fileRef = 450A4F5E220CB180007203D7 /* SPIRVReflection.h */; };
2017-11-17 11:14:29 -05:00
A909408A1C58013E0094110D /* SPIRVToMSLConverter.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A9093F5A1C58013E0094110D /* SPIRVToMSLConverter.cpp */; };
A909408B1C58013E0094110D /* SPIRVToMSLConverter.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A9093F5A1C58013E0094110D /* SPIRVToMSLConverter.cpp */; };
A909408C1C58013E0094110D /* SPIRVToMSLConverter.h in Headers */ = {isa = PBXBuildFile; fileRef = A9093F5B1C58013E0094110D /* SPIRVToMSLConverter.h */; };
A909408D1C58013E0094110D /* SPIRVToMSLConverter.h in Headers */ = {isa = PBXBuildFile; fileRef = A9093F5B1C58013E0094110D /* SPIRVToMSLConverter.h */; };
A920A8A3251B75B70076851C /* GLSLToSPIRVConverter.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A920A89F251B75B70076851C /* GLSLToSPIRVConverter.cpp */; };
A920A8A4251B75B70076851C /* GLSLToSPIRVConverter.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A920A89F251B75B70076851C /* GLSLToSPIRVConverter.cpp */; };
A920A8A5251B75B70076851C /* GLSLToSPIRVConverter.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A920A89F251B75B70076851C /* GLSLToSPIRVConverter.cpp */; };
A920A8A6251B75B70076851C /* GLSLConversion.h in Headers */ = {isa = PBXBuildFile; fileRef = A920A8A0251B75B70076851C /* GLSLConversion.h */; };
A920A8A7251B75B70076851C /* GLSLConversion.h in Headers */ = {isa = PBXBuildFile; fileRef = A920A8A0251B75B70076851C /* GLSLConversion.h */; };
A920A8A8251B75B70076851C /* GLSLConversion.h in Headers */ = {isa = PBXBuildFile; fileRef = A920A8A0251B75B70076851C /* GLSLConversion.h */; };
A920A8A9251B75B70076851C /* GLSLConversion.mm in Sources */ = {isa = PBXBuildFile; fileRef = A920A8A1251B75B70076851C /* GLSLConversion.mm */; };
A920A8AA251B75B70076851C /* GLSLConversion.mm in Sources */ = {isa = PBXBuildFile; fileRef = A920A8A1251B75B70076851C /* GLSLConversion.mm */; };
A920A8AB251B75B70076851C /* GLSLConversion.mm in Sources */ = {isa = PBXBuildFile; fileRef = A920A8A1251B75B70076851C /* GLSLConversion.mm */; };
A920A8AC251B75B70076851C /* GLSLToSPIRVConverter.h in Headers */ = {isa = PBXBuildFile; fileRef = A920A8A2251B75B70076851C /* GLSLToSPIRVConverter.h */; };
A920A8AD251B75B80076851C /* GLSLToSPIRVConverter.h in Headers */ = {isa = PBXBuildFile; fileRef = A920A8A2251B75B70076851C /* GLSLToSPIRVConverter.h */; };
A920A8AE251B75B80076851C /* GLSLToSPIRVConverter.h in Headers */ = {isa = PBXBuildFile; fileRef = A920A8A2251B75B70076851C /* GLSLToSPIRVConverter.h */; };
A920A8AF251B77900076851C /* glslang.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = A98386FD24EEE93700199A05 /* glslang.xcframework */; };
A920A8B0251B77910076851C /* glslang.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = A98386FD24EEE93700199A05 /* glslang.xcframework */; };
A920A8B1251B77920076851C /* glslang.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = A98386FD24EEE93700199A05 /* glslang.xcframework */; };
A925B71B1C78DEB2006E7ECD /* libMoltenVKShaderConverter.a in Frameworks */ = {isa = PBXBuildFile; fileRef = A93903C71C57E9ED00FE90DC /* libMoltenVKShaderConverter.a */; };
A928C9191D0488DC00071B88 /* SPIRVConversion.h in Headers */ = {isa = PBXBuildFile; fileRef = A928C9171D0488DC00071B88 /* SPIRVConversion.h */; };
A928C91A1D0488DC00071B88 /* SPIRVConversion.h in Headers */ = {isa = PBXBuildFile; fileRef = A928C9171D0488DC00071B88 /* SPIRVConversion.h */; };
2017-11-17 11:14:29 -05:00
A928C91B1D0488DC00071B88 /* SPIRVConversion.mm in Sources */ = {isa = PBXBuildFile; fileRef = A928C9181D0488DC00071B88 /* SPIRVConversion.mm */; };
A928C91C1D0488DC00071B88 /* SPIRVConversion.mm in Sources */ = {isa = PBXBuildFile; fileRef = A928C9181D0488DC00071B88 /* SPIRVConversion.mm */; };
A95096BB2003D00300F10950 /* FileSupport.mm in Sources */ = {isa = PBXBuildFile; fileRef = A925B70A1C7754B2006E7ECD /* FileSupport.mm */; };
A95096BC2003D00300F10950 /* FileSupport.mm in Sources */ = {isa = PBXBuildFile; fileRef = A925B70A1C7754B2006E7ECD /* FileSupport.mm */; };
A95096BF2003D32400F10950 /* OSSupport.mm in Sources */ = {isa = PBXBuildFile; fileRef = A95096BD2003D32400F10950 /* OSSupport.mm */; };
2017-11-17 11:14:29 -05:00
A97CC7401C7527F3004A5C7E /* main.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A97CC73D1C7527F3004A5C7E /* main.cpp */; };
A97CC7411C7527F3004A5C7E /* MoltenVKShaderConverterTool.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A97CC73E1C7527F3004A5C7E /* MoltenVKShaderConverterTool.cpp */; };
A98149681FB6A98A005F00B4 /* MVKStrings.h in Headers */ = {isa = PBXBuildFile; fileRef = A98149651FB6A98A005F00B4 /* MVKStrings.h */; };
A98149691FB6A98A005F00B4 /* MVKStrings.h in Headers */ = {isa = PBXBuildFile; fileRef = A98149651FB6A98A005F00B4 /* MVKStrings.h */; };
A98386FA24EEE91A00199A05 /* SPIRVCross.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = A98386F824EEE91A00199A05 /* SPIRVCross.xcframework */; };
A98386FB24EEE91A00199A05 /* SPIRVCross.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = A98386F824EEE91A00199A05 /* SPIRVCross.xcframework */; };
A98386FC24EEE91A00199A05 /* SPIRVCross.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = A98386F824EEE91A00199A05 /* SPIRVCross.xcframework */; };
A983870724EEE94800199A05 /* SPIRVTools.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = A983870224EEE94800199A05 /* SPIRVTools.xcframework */; };
A983870824EEE94800199A05 /* SPIRVTools.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = A983870224EEE94800199A05 /* SPIRVTools.xcframework */; };
A983870924EEE94800199A05 /* SPIRVTools.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = A983870224EEE94800199A05 /* SPIRVTools.xcframework */; };
A9A14E332244388700C080F3 /* Metal.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A9A14E322244388700C080F3 /* Metal.framework */; };
A9B51BDD225E98BB00AC74D2 /* MVKOSExtensions.mm in Sources */ = {isa = PBXBuildFile; fileRef = A9B51BDB225E98BB00AC74D2 /* MVKOSExtensions.mm */; };
A9C70F61221B321700FBA31A /* SPIRVSupport.h in Headers */ = {isa = PBXBuildFile; fileRef = A9C70F5D221B321600FBA31A /* SPIRVSupport.h */; };
A9C70F62221B321700FBA31A /* SPIRVSupport.h in Headers */ = {isa = PBXBuildFile; fileRef = A9C70F5D221B321600FBA31A /* SPIRVSupport.h */; };
A9C70F63221B321700FBA31A /* SPIRVSupport.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A9C70F5E221B321700FBA31A /* SPIRVSupport.cpp */; };
A9C70F66221B321700FBA31A /* SPIRVSupport.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A9C70F5E221B321700FBA31A /* SPIRVSupport.cpp */; };
A9C70F67221B321700FBA31A /* SPIRVSupport.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A9C70F5E221B321700FBA31A /* SPIRVSupport.cpp */; };
2017-11-17 11:14:29 -05:00
A9F042B21FB4D060009FCCB8 /* MVKCommonEnvironment.h in Headers */ = {isa = PBXBuildFile; fileRef = A9F042AA1FB4D060009FCCB8 /* MVKCommonEnvironment.h */; };
A9F042B31FB4D060009FCCB8 /* MVKCommonEnvironment.h in Headers */ = {isa = PBXBuildFile; fileRef = A9F042AA1FB4D060009FCCB8 /* MVKCommonEnvironment.h */; };
/* End PBXBuildFile section */
/* Begin PBXContainerItemProxy section */
A925B71C1C78DEBF006E7ECD /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = A9F55D25198BE6A7004EC31B /* Project object */;
proxyType = 1;
remoteGlobalIDString = A93903C01C57E9ED00FE90DC;
remoteInfo = "MoltenVKSPIRVToMSLConverter-macOS";
};
/* End PBXContainerItemProxy section */
/* Begin PBXFileReference section */
2FEA0D142490381A00EEF3AD /* libMoltenVKShaderConverter.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libMoltenVKShaderConverter.a; sourceTree = BUILT_PRODUCTS_DIR; };
Add support for tessellation. At long last, tessellation comes to MoltenVK! With this change, clients will now be able to specify tessellation shaders when creating pipelines, and then draw tessellated patches with them. Unfortunately, there seem to be a few gotchas with tessellation in Metal. For one thing, tessellation pipelines in Metal are structured very differently from Vulkan. There is no tessellation control or even vertex stage. Instead, the tessellation evaluation shader takes the place of the vertex function as a "post-tessellation vertex function." The tessellation levels are supplied in a buffer to the tessellator, which you are expected to populate. The most common way to do this is by running a compute shader. MoltenVK thus runs the vertex shader and tessellation control shader by themselves; a single `VkPipeline` object then requires at least *three* `MTLPipelineState` objects. But wait, there's more! The tessellation-control-as-compute stage uses Metal's support for vertex-style stage input to a compute shader. But, this support requires one to declare indexing *ahead of time*, when the pipeline state is created. So a single `VkPipeline` object could have as many as *five* `MTLPipelineState` objects. Further, if there are more output than input control points for the tessellation control stage, then later invocations may end up fetching the wrong attributes! To get around this, this change uses index buffers to ensure that all tessellation control shaders see the correct input. Unfortunately, in the indexed draw case, this means that the incoming index buffer needs to be munged. Instancing is another pain point here. In Vulkan, as in OpenGL and Direct3D, instancing is done in the vertex shader; but in Metal, it is done at the tessellation evaluation stage. For this reason, only the vertex stage of a tessellated draw supports instancing. Additional memory is required to hold data for the extra vertices generated by instancing. This also requires still more munging of index buffers for indexed draws. Indirect draws are even more painful. Because the number of vertices and instances is unknown, storage for the maximum possible number of vertices must be allocated. This change imposes a totally arbitrary limit of 131072 vertices from a single draw, including all vertices generated by instancing. On a Mac, this requires about 194-256 MB of VRAM for all the temporary buffers. There are some possible optimizations here. If we could prove that the vertex shader's output doesn't depend on the instance ID, either directly or through a per-instance attribute, then we could avoid running the vertex and tess. control stages per instance, and take advantage of Metal's support for tess. eval instancing. If we could also prove that the vertex shader simply passes instance attributes through (similarly with the tess. control shader), we could do this for many more instanced draws as well. It should also be possible to cache the output from the tess. control stage; if the draw comes up again, we can then skip the vertex and tess. control stages entirely! Fixes #56 and #501.
2019-02-18 20:56:42 -06:00
450A4F5E220CB180007203D7 /* SPIRVReflection.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SPIRVReflection.h; sourceTree = "<group>"; };
2017-11-17 11:14:29 -05:00
A9093F5A1C58013E0094110D /* SPIRVToMSLConverter.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = SPIRVToMSLConverter.cpp; sourceTree = "<group>"; };
A9093F5B1C58013E0094110D /* SPIRVToMSLConverter.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SPIRVToMSLConverter.h; sourceTree = "<group>"; };
A920A89F251B75B70076851C /* GLSLToSPIRVConverter.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = GLSLToSPIRVConverter.cpp; sourceTree = "<group>"; };
A920A8A0251B75B70076851C /* GLSLConversion.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = GLSLConversion.h; sourceTree = "<group>"; };
A920A8A1251B75B70076851C /* GLSLConversion.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = GLSLConversion.mm; sourceTree = "<group>"; };
A920A8A2251B75B70076851C /* GLSLToSPIRVConverter.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = GLSLToSPIRVConverter.h; sourceTree = "<group>"; };
2017-11-17 11:14:29 -05:00
A925B70A1C7754B2006E7ECD /* FileSupport.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = FileSupport.mm; sourceTree = "<group>"; };
A925B70B1C7754B2006E7ECD /* FileSupport.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = FileSupport.h; sourceTree = "<group>"; };
A928C9171D0488DC00071B88 /* SPIRVConversion.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SPIRVConversion.h; sourceTree = "<group>"; };
A928C9181D0488DC00071B88 /* SPIRVConversion.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = SPIRVConversion.mm; sourceTree = "<group>"; };
A93903BF1C57E9D700FE90DC /* libMoltenVKShaderConverter.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libMoltenVKShaderConverter.a; sourceTree = BUILT_PRODUCTS_DIR; };
A93903C71C57E9ED00FE90DC /* libMoltenVKShaderConverter.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libMoltenVKShaderConverter.a; sourceTree = BUILT_PRODUCTS_DIR; };
A95096BD2003D32400F10950 /* OSSupport.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = OSSupport.mm; sourceTree = "<group>"; };
A95096BE2003D32400F10950 /* OSSupport.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OSSupport.h; sourceTree = "<group>"; };
2017-11-17 11:14:29 -05:00
A964BD5F1C57EFBD00D930D8 /* MoltenVKShaderConverter */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = MoltenVKShaderConverter; sourceTree = BUILT_PRODUCTS_DIR; };
A97CC73D1C7527F3004A5C7E /* main.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = main.cpp; sourceTree = "<group>"; };
A97CC73E1C7527F3004A5C7E /* MoltenVKShaderConverterTool.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = MoltenVKShaderConverterTool.cpp; sourceTree = "<group>"; };
A97CC73F1C7527F3004A5C7E /* MoltenVKShaderConverterTool.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MoltenVKShaderConverterTool.h; sourceTree = "<group>"; };
A98149651FB6A98A005F00B4 /* MVKStrings.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MVKStrings.h; sourceTree = "<group>"; };
A98386F824EEE91A00199A05 /* SPIRVCross.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; path = SPIRVCross.xcframework; sourceTree = "<group>"; };
A98386FD24EEE93700199A05 /* glslang.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; path = glslang.xcframework; sourceTree = "<group>"; };
A983870224EEE94800199A05 /* SPIRVTools.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; path = SPIRVTools.xcframework; sourceTree = "<group>"; };
A9A14E322244388700C080F3 /* Metal.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Metal.framework; path = System/Library/Frameworks/Metal.framework; sourceTree = SDKROOT; };
A9B51BDB225E98BB00AC74D2 /* MVKOSExtensions.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = MVKOSExtensions.mm; sourceTree = "<group>"; };
A9B51BDC225E98BB00AC74D2 /* MVKOSExtensions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MVKOSExtensions.h; sourceTree = "<group>"; };
A9C70F5D221B321600FBA31A /* SPIRVSupport.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SPIRVSupport.h; path = Common/SPIRVSupport.h; sourceTree = SOURCE_ROOT; };
A9C70F5E221B321700FBA31A /* SPIRVSupport.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = SPIRVSupport.cpp; path = Common/SPIRVSupport.cpp; sourceTree = SOURCE_ROOT; };
2017-11-17 11:14:29 -05:00
A9F042AA1FB4D060009FCCB8 /* MVKCommonEnvironment.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MVKCommonEnvironment.h; sourceTree = "<group>"; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
2020-06-09 14:52:03 -07:00
2FEA0D0C2490381A00EEF3AD /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
A983870824EEE94800199A05 /* SPIRVTools.xcframework in Frameworks */,
A98386FB24EEE91A00199A05 /* SPIRVCross.xcframework in Frameworks */,
A920A8B0251B77910076851C /* glslang.xcframework in Frameworks */,
2020-06-09 14:52:03 -07:00
);
runOnlyForDeploymentPostprocessing = 0;
};
2017-11-17 11:14:29 -05:00
A9092A8A1A81717B00051823 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
A9A14E332244388700C080F3 /* Metal.framework in Frameworks */,
A925B71B1C78DEB2006E7ECD /* libMoltenVKShaderConverter.a in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
A972AD2E21CEE6F50013AB25 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
A983870724EEE94800199A05 /* SPIRVTools.xcframework in Frameworks */,
A98386FA24EEE91A00199A05 /* SPIRVCross.xcframework in Frameworks */,
A920A8AF251B77900076851C /* glslang.xcframework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
A972AD3321CEE7230013AB25 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
A983870924EEE94800199A05 /* SPIRVTools.xcframework in Frameworks */,
A98386FC24EEE91A00199A05 /* SPIRVCross.xcframework in Frameworks */,
A920A8B1251B77920076851C /* glslang.xcframework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
2017-11-17 11:14:29 -05:00
/* End PBXFrameworksBuildPhase section */
/* Begin PBXGroup section */
A9093C561C58013D0094110D /* MoltenVKShaderConverter */ = {
2017-11-17 11:14:29 -05:00
isa = PBXGroup;
children = (
A925B70B1C7754B2006E7ECD /* FileSupport.h */,
A925B70A1C7754B2006E7ECD /* FileSupport.mm */,
A920A8A0251B75B70076851C /* GLSLConversion.h */,
A920A8A1251B75B70076851C /* GLSLConversion.mm */,
A920A89F251B75B70076851C /* GLSLToSPIRVConverter.cpp */,
A920A8A2251B75B70076851C /* GLSLToSPIRVConverter.h */,
2017-11-17 11:14:29 -05:00
A928C9171D0488DC00071B88 /* SPIRVConversion.h */,
A928C9181D0488DC00071B88 /* SPIRVConversion.mm */,
450A4F5E220CB180007203D7 /* SPIRVReflection.h */,
2017-11-17 11:14:29 -05:00
A9093F5A1C58013E0094110D /* SPIRVToMSLConverter.cpp */,
A9093F5B1C58013E0094110D /* SPIRVToMSLConverter.h */,
);
path = MoltenVKShaderConverter;
2017-11-17 11:14:29 -05:00
sourceTree = "<group>";
};
A964B28D1C57EBC400D930D8 /* Products */ = {
2017-11-17 11:14:29 -05:00
isa = PBXGroup;
children = (
A93903C71C57E9ED00FE90DC /* libMoltenVKShaderConverter.a */,
A93903BF1C57E9D700FE90DC /* libMoltenVKShaderConverter.a */,
2FEA0D142490381A00EEF3AD /* libMoltenVKShaderConverter.a */,
A964BD5F1C57EFBD00D930D8 /* MoltenVKShaderConverter */,
2017-11-17 11:14:29 -05:00
);
name = Products;
2017-11-17 11:14:29 -05:00
sourceTree = "<group>";
};
A972AD2921CEE6A80013AB25 /* Frameworks */ = {
2017-11-17 11:14:29 -05:00
isa = PBXGroup;
children = (
A98386F824EEE91A00199A05 /* SPIRVCross.xcframework */,
A98386FD24EEE93700199A05 /* glslang.xcframework */,
A983870224EEE94800199A05 /* SPIRVTools.xcframework */,
A9A14E322244388700C080F3 /* Metal.framework */,
);
name = Frameworks;
path = ../External/build/Latest;
sourceTree = SOURCE_ROOT;
2018-07-29 17:41:14 -04:00
};
A97CC73C1C7527F3004A5C7E /* MoltenVKShaderConverterTool */ = {
2018-07-29 17:41:14 -04:00
isa = PBXGroup;
children = (
A97CC73D1C7527F3004A5C7E /* main.cpp */,
A97CC73E1C7527F3004A5C7E /* MoltenVKShaderConverterTool.cpp */,
A97CC73F1C7527F3004A5C7E /* MoltenVKShaderConverterTool.h */,
A95096BE2003D32400F10950 /* OSSupport.h */,
A95096BD2003D32400F10950 /* OSSupport.mm */,
2018-07-29 17:41:14 -04:00
);
path = MoltenVKShaderConverterTool;
2018-07-29 17:41:14 -04:00
sourceTree = "<group>";
};
2017-11-17 11:14:29 -05:00
A9F042A81FB4D060009FCCB8 /* Common */ = {
isa = PBXGroup;
children = (
A9F042AA1FB4D060009FCCB8 /* MVKCommonEnvironment.h */,
A9B51BDC225E98BB00AC74D2 /* MVKOSExtensions.h */,
A9B51BDB225E98BB00AC74D2 /* MVKOSExtensions.mm */,
2017-11-17 11:14:29 -05:00
A98149651FB6A98A005F00B4 /* MVKStrings.h */,
A9C70F5E221B321700FBA31A /* SPIRVSupport.cpp */,
A9C70F5D221B321600FBA31A /* SPIRVSupport.h */,
2017-11-17 11:14:29 -05:00
);
name = Common;
path = ../Common;
sourceTree = "<group>";
};
A9F55D24198BE6A7004EC31B = {
isa = PBXGroup;
children = (
A9093C561C58013D0094110D /* MoltenVKShaderConverter */,
2017-11-17 11:14:29 -05:00
A97CC73C1C7527F3004A5C7E /* MoltenVKShaderConverterTool */,
A9F042A81FB4D060009FCCB8 /* Common */,
A964B28D1C57EBC400D930D8 /* Products */,
A972AD2921CEE6A80013AB25 /* Frameworks */,
2017-11-17 11:14:29 -05:00
);
sourceTree = "<group>";
};
/* End PBXGroup section */
/* Begin PBXHeadersBuildPhase section */
2020-06-09 14:52:03 -07:00
2FEA0D002490381A00EEF3AD /* Headers */ = {
isa = PBXHeadersBuildPhase;
buildActionMask = 2147483647;
files = (
2FEA0D012490381A00EEF3AD /* SPIRVReflection.h in Headers */,
A920A8A7251B75B70076851C /* GLSLConversion.h in Headers */,
2020-06-09 14:52:03 -07:00
2FEA0D022490381A00EEF3AD /* MVKStrings.h in Headers */,
2FEA0D032490381A00EEF3AD /* SPIRVSupport.h in Headers */,
2FEA0D042490381A00EEF3AD /* SPIRVConversion.h in Headers */,
A920A8AD251B75B80076851C /* GLSLToSPIRVConverter.h in Headers */,
2020-06-09 14:52:03 -07:00
2FEA0D052490381A00EEF3AD /* SPIRVToMSLConverter.h in Headers */,
2FEA0D062490381A00EEF3AD /* MVKCommonEnvironment.h in Headers */,
);
runOnlyForDeploymentPostprocessing = 0;
};
2017-11-17 11:14:29 -05:00
A93903B91C57E9D700FE90DC /* Headers */ = {
isa = PBXHeadersBuildPhase;
buildActionMask = 2147483647;
files = (
Add support for tessellation. At long last, tessellation comes to MoltenVK! With this change, clients will now be able to specify tessellation shaders when creating pipelines, and then draw tessellated patches with them. Unfortunately, there seem to be a few gotchas with tessellation in Metal. For one thing, tessellation pipelines in Metal are structured very differently from Vulkan. There is no tessellation control or even vertex stage. Instead, the tessellation evaluation shader takes the place of the vertex function as a "post-tessellation vertex function." The tessellation levels are supplied in a buffer to the tessellator, which you are expected to populate. The most common way to do this is by running a compute shader. MoltenVK thus runs the vertex shader and tessellation control shader by themselves; a single `VkPipeline` object then requires at least *three* `MTLPipelineState` objects. But wait, there's more! The tessellation-control-as-compute stage uses Metal's support for vertex-style stage input to a compute shader. But, this support requires one to declare indexing *ahead of time*, when the pipeline state is created. So a single `VkPipeline` object could have as many as *five* `MTLPipelineState` objects. Further, if there are more output than input control points for the tessellation control stage, then later invocations may end up fetching the wrong attributes! To get around this, this change uses index buffers to ensure that all tessellation control shaders see the correct input. Unfortunately, in the indexed draw case, this means that the incoming index buffer needs to be munged. Instancing is another pain point here. In Vulkan, as in OpenGL and Direct3D, instancing is done in the vertex shader; but in Metal, it is done at the tessellation evaluation stage. For this reason, only the vertex stage of a tessellated draw supports instancing. Additional memory is required to hold data for the extra vertices generated by instancing. This also requires still more munging of index buffers for indexed draws. Indirect draws are even more painful. Because the number of vertices and instances is unknown, storage for the maximum possible number of vertices must be allocated. This change imposes a totally arbitrary limit of 131072 vertices from a single draw, including all vertices generated by instancing. On a Mac, this requires about 194-256 MB of VRAM for all the temporary buffers. There are some possible optimizations here. If we could prove that the vertex shader's output doesn't depend on the instance ID, either directly or through a per-instance attribute, then we could avoid running the vertex and tess. control stages per instance, and take advantage of Metal's support for tess. eval instancing. If we could also prove that the vertex shader simply passes instance attributes through (similarly with the tess. control shader), we could do this for many more instanced draws as well. It should also be possible to cache the output from the tess. control stage; if the draw comes up again, we can then skip the vertex and tess. control stages entirely! Fixes #56 and #501.
2019-02-18 20:56:42 -06:00
450A4F61220CB180007203D7 /* SPIRVReflection.h in Headers */,
A920A8A6251B75B70076851C /* GLSLConversion.h in Headers */,
2017-11-17 11:14:29 -05:00
A98149681FB6A98A005F00B4 /* MVKStrings.h in Headers */,
A9C70F61221B321700FBA31A /* SPIRVSupport.h in Headers */,
2017-11-17 11:14:29 -05:00
A928C9191D0488DC00071B88 /* SPIRVConversion.h in Headers */,
A920A8AC251B75B70076851C /* GLSLToSPIRVConverter.h in Headers */,
2017-11-17 11:14:29 -05:00
A909408C1C58013E0094110D /* SPIRVToMSLConverter.h in Headers */,
A9F042B21FB4D060009FCCB8 /* MVKCommonEnvironment.h in Headers */,
);
runOnlyForDeploymentPostprocessing = 0;
};
A93903C11C57E9ED00FE90DC /* Headers */ = {
isa = PBXHeadersBuildPhase;
buildActionMask = 2147483647;
files = (
Add support for tessellation. At long last, tessellation comes to MoltenVK! With this change, clients will now be able to specify tessellation shaders when creating pipelines, and then draw tessellated patches with them. Unfortunately, there seem to be a few gotchas with tessellation in Metal. For one thing, tessellation pipelines in Metal are structured very differently from Vulkan. There is no tessellation control or even vertex stage. Instead, the tessellation evaluation shader takes the place of the vertex function as a "post-tessellation vertex function." The tessellation levels are supplied in a buffer to the tessellator, which you are expected to populate. The most common way to do this is by running a compute shader. MoltenVK thus runs the vertex shader and tessellation control shader by themselves; a single `VkPipeline` object then requires at least *three* `MTLPipelineState` objects. But wait, there's more! The tessellation-control-as-compute stage uses Metal's support for vertex-style stage input to a compute shader. But, this support requires one to declare indexing *ahead of time*, when the pipeline state is created. So a single `VkPipeline` object could have as many as *five* `MTLPipelineState` objects. Further, if there are more output than input control points for the tessellation control stage, then later invocations may end up fetching the wrong attributes! To get around this, this change uses index buffers to ensure that all tessellation control shaders see the correct input. Unfortunately, in the indexed draw case, this means that the incoming index buffer needs to be munged. Instancing is another pain point here. In Vulkan, as in OpenGL and Direct3D, instancing is done in the vertex shader; but in Metal, it is done at the tessellation evaluation stage. For this reason, only the vertex stage of a tessellated draw supports instancing. Additional memory is required to hold data for the extra vertices generated by instancing. This also requires still more munging of index buffers for indexed draws. Indirect draws are even more painful. Because the number of vertices and instances is unknown, storage for the maximum possible number of vertices must be allocated. This change imposes a totally arbitrary limit of 131072 vertices from a single draw, including all vertices generated by instancing. On a Mac, this requires about 194-256 MB of VRAM for all the temporary buffers. There are some possible optimizations here. If we could prove that the vertex shader's output doesn't depend on the instance ID, either directly or through a per-instance attribute, then we could avoid running the vertex and tess. control stages per instance, and take advantage of Metal's support for tess. eval instancing. If we could also prove that the vertex shader simply passes instance attributes through (similarly with the tess. control shader), we could do this for many more instanced draws as well. It should also be possible to cache the output from the tess. control stage; if the draw comes up again, we can then skip the vertex and tess. control stages entirely! Fixes #56 and #501.
2019-02-18 20:56:42 -06:00
450A4F62220CB180007203D7 /* SPIRVReflection.h in Headers */,
A920A8A8251B75B70076851C /* GLSLConversion.h in Headers */,
2017-11-17 11:14:29 -05:00
A98149691FB6A98A005F00B4 /* MVKStrings.h in Headers */,
A9C70F62221B321700FBA31A /* SPIRVSupport.h in Headers */,
2017-11-17 11:14:29 -05:00
A928C91A1D0488DC00071B88 /* SPIRVConversion.h in Headers */,
A920A8AE251B75B80076851C /* GLSLToSPIRVConverter.h in Headers */,
2017-11-17 11:14:29 -05:00
A909408D1C58013E0094110D /* SPIRVToMSLConverter.h in Headers */,
A9F042B31FB4D060009FCCB8 /* MVKCommonEnvironment.h in Headers */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXHeadersBuildPhase section */
/* Begin PBXNativeTarget section */
2FEA0CFF2490381A00EEF3AD /* MoltenVKShaderConverter-tvOS */ = {
2020-06-09 14:52:03 -07:00
isa = PBXNativeTarget;
buildConfigurationList = 2FEA0D112490381A00EEF3AD /* Build configuration list for PBXNativeTarget "MoltenVKShaderConverter-tvOS" */;
2020-06-09 14:52:03 -07:00
buildPhases = (
2FEA0D002490381A00EEF3AD /* Headers */,
2FEA0D072490381A00EEF3AD /* Sources */,
2FEA0D0C2490381A00EEF3AD /* Frameworks */,
A93ED4E824F59E1100FEB018 /* Copy to Staging */,
2020-06-09 14:52:03 -07:00
);
buildRules = (
);
dependencies = (
);
name = "MoltenVKShaderConverter-tvOS";
2020-06-09 14:52:03 -07:00
productName = "MetalGLShaderConverter-iOS";
productReference = 2FEA0D142490381A00EEF3AD /* libMoltenVKShaderConverter.a */;
2020-06-09 14:52:03 -07:00
productType = "com.apple.product-type.library.static";
};
2017-11-17 11:14:29 -05:00
A9092A8C1A81717B00051823 /* MoltenVKShaderConverter */ = {
isa = PBXNativeTarget;
buildConfigurationList = A9092A931A81717C00051823 /* Build configuration list for PBXNativeTarget "MoltenVKShaderConverter" */;
buildPhases = (
A9092A891A81717B00051823 /* Sources */,
A9092A8A1A81717B00051823 /* Frameworks */,
);
buildRules = (
);
dependencies = (
A925B71D1C78DEBF006E7ECD /* PBXTargetDependency */,
);
name = MoltenVKShaderConverter;
productName = MetalGLShaderConverterTool;
productReference = A964BD5F1C57EFBD00D930D8 /* MoltenVKShaderConverter */;
productType = "com.apple.product-type.tool";
};
A93903B81C57E9D700FE90DC /* MoltenVKShaderConverter-iOS */ = {
2017-11-17 11:14:29 -05:00
isa = PBXNativeTarget;
buildConfigurationList = A93903BC1C57E9D700FE90DC /* Build configuration list for PBXNativeTarget "MoltenVKShaderConverter-iOS" */;
2017-11-17 11:14:29 -05:00
buildPhases = (
A93903B91C57E9D700FE90DC /* Headers */,
A93903BA1C57E9D700FE90DC /* Sources */,
A972AD2E21CEE6F50013AB25 /* Frameworks */,
A93ED4E724F59E0900FEB018 /* Copy to Staging */,
2017-11-17 11:14:29 -05:00
);
buildRules = (
);
dependencies = (
);
name = "MoltenVKShaderConverter-iOS";
2017-11-17 11:14:29 -05:00
productName = "MetalGLShaderConverter-iOS";
productReference = A93903BF1C57E9D700FE90DC /* libMoltenVKShaderConverter.a */;
productType = "com.apple.product-type.library.static";
2017-11-17 11:14:29 -05:00
};
A93903C01C57E9ED00FE90DC /* MoltenVKShaderConverter-macOS */ = {
2017-11-17 11:14:29 -05:00
isa = PBXNativeTarget;
buildConfigurationList = A93903C41C57E9ED00FE90DC /* Build configuration list for PBXNativeTarget "MoltenVKShaderConverter-macOS" */;
2017-11-17 11:14:29 -05:00
buildPhases = (
A93903C11C57E9ED00FE90DC /* Headers */,
A93903C21C57E9ED00FE90DC /* Sources */,
A972AD3321CEE7230013AB25 /* Frameworks */,
A93ED4E924F59E1800FEB018 /* Copy to Staging */,
2017-11-17 11:14:29 -05:00
);
buildRules = (
);
dependencies = (
);
name = "MoltenVKShaderConverter-macOS";
2017-11-17 11:14:29 -05:00
productName = "MetalGLShaderConverter-macOS";
productReference = A93903C71C57E9ED00FE90DC /* libMoltenVKShaderConverter.a */;
productType = "com.apple.product-type.library.static";
2017-11-17 11:14:29 -05:00
};
/* End PBXNativeTarget section */
/* Begin PBXProject section */
A9F55D25198BE6A7004EC31B /* Project object */ = {
isa = PBXProject;
attributes = {
LastUpgradeCheck = 1240;
2017-11-17 11:14:29 -05:00
ORGANIZATIONNAME = "The Brenwill Workshop Ltd.";
TargetAttributes = {
A9092A8C1A81717B00051823 = {
CreatedOnToolsVersion = 6.1.1;
DevelopmentTeam = VU3TCKU48B;
};
A93903B81C57E9D700FE90DC = {
DevelopmentTeam = VU3TCKU48B;
};
A93903C01C57E9ED00FE90DC = {
DevelopmentTeam = VU3TCKU48B;
};
};
};
buildConfigurationList = A9F55D28198BE6A7004EC31B /* Build configuration list for PBXProject "MoltenVKShaderConverter" */;
compatibilityVersion = "Xcode 8.0";
2019-03-26 11:50:39 -04:00
developmentRegion = en;
2017-11-17 11:14:29 -05:00
hasScannedForEncodings = 0;
knownRegions = (
en,
2019-03-26 11:50:39 -04:00
Base,
2017-11-17 11:14:29 -05:00
);
mainGroup = A9F55D24198BE6A7004EC31B;
productRefGroup = A9F55D24198BE6A7004EC31B;
projectDirPath = "";
projectRoot = "";
targets = (
A9092A8C1A81717B00051823 /* MoltenVKShaderConverter */,
A93903B81C57E9D700FE90DC /* MoltenVKShaderConverter-iOS */,
2FEA0CFF2490381A00EEF3AD /* MoltenVKShaderConverter-tvOS */,
A93903C01C57E9ED00FE90DC /* MoltenVKShaderConverter-macOS */,
2017-11-17 11:14:29 -05:00
);
};
/* End PBXProject section */
/* Begin PBXShellScriptBuildPhase section */
A93ED4E724F59E0900FEB018 /* Copy to Staging */ = {
2020-06-09 14:52:03 -07:00
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
);
inputPaths = (
);
name = "Copy to Staging";
2020-06-09 14:52:03 -07:00
outputFileListPaths = (
);
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = ". \"${SRCROOT}/../Scripts/copy_to_staging.sh\"\n";
2020-06-09 14:52:03 -07:00
};
A93ED4E824F59E1100FEB018 /* Copy to Staging */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
);
inputPaths = (
);
name = "Copy to Staging";
outputFileListPaths = (
);
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = ". \"${SRCROOT}/../Scripts/copy_to_staging.sh\"\n";
};
A93ED4E924F59E1800FEB018 /* Copy to Staging */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
);
inputPaths = (
);
name = "Copy to Staging";
outputFileListPaths = (
);
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = ". \"${SRCROOT}/../Scripts/copy_to_staging.sh\"\n";
};
/* End PBXShellScriptBuildPhase section */
2017-11-17 11:14:29 -05:00
/* Begin PBXSourcesBuildPhase section */
2020-06-09 14:52:03 -07:00
2FEA0D072490381A00EEF3AD /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
2FEA0D082490381A00EEF3AD /* FileSupport.mm in Sources */,
A920A8AA251B75B70076851C /* GLSLConversion.mm in Sources */,
A920A8A4251B75B70076851C /* GLSLToSPIRVConverter.cpp in Sources */,
2020-06-09 14:52:03 -07:00
2FEA0D092490381A00EEF3AD /* SPIRVToMSLConverter.cpp in Sources */,
2FEA0D0A2490381A00EEF3AD /* SPIRVSupport.cpp in Sources */,
2FEA0D0B2490381A00EEF3AD /* SPIRVConversion.mm in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
2017-11-17 11:14:29 -05:00
A9092A891A81717B00051823 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
A97CC7411C7527F3004A5C7E /* MoltenVKShaderConverterTool.cpp in Sources */,
A9C70F63221B321700FBA31A /* SPIRVSupport.cpp in Sources */,
A95096BF2003D32400F10950 /* OSSupport.mm in Sources */,
A9B51BDD225E98BB00AC74D2 /* MVKOSExtensions.mm in Sources */,
2017-11-17 11:14:29 -05:00
A97CC7401C7527F3004A5C7E /* main.cpp in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
A93903BA1C57E9D700FE90DC /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
A95096BB2003D00300F10950 /* FileSupport.mm in Sources */,
A920A8A9251B75B70076851C /* GLSLConversion.mm in Sources */,
A920A8A3251B75B70076851C /* GLSLToSPIRVConverter.cpp in Sources */,
2017-11-17 11:14:29 -05:00
A909408A1C58013E0094110D /* SPIRVToMSLConverter.cpp in Sources */,
A9C70F66221B321700FBA31A /* SPIRVSupport.cpp in Sources */,
2017-11-17 11:14:29 -05:00
A928C91B1D0488DC00071B88 /* SPIRVConversion.mm in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
A93903C21C57E9ED00FE90DC /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
A95096BC2003D00300F10950 /* FileSupport.mm in Sources */,
A920A8AB251B75B70076851C /* GLSLConversion.mm in Sources */,
A920A8A5251B75B70076851C /* GLSLToSPIRVConverter.cpp in Sources */,
2017-11-17 11:14:29 -05:00
A909408B1C58013E0094110D /* SPIRVToMSLConverter.cpp in Sources */,
A9C70F67221B321700FBA31A /* SPIRVSupport.cpp in Sources */,
2017-11-17 11:14:29 -05:00
A928C91C1D0488DC00071B88 /* SPIRVConversion.mm in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */
/* Begin PBXTargetDependency section */
A925B71D1C78DEBF006E7ECD /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
target = A93903C01C57E9ED00FE90DC /* MoltenVKShaderConverter-macOS */;
2017-11-17 11:14:29 -05:00
targetProxy = A925B71C1C78DEBF006E7ECD /* PBXContainerItemProxy */;
};
/* End PBXTargetDependency section */
/* Begin XCBuildConfiguration section */
2020-06-09 14:52:03 -07:00
2FEA0D122490381A00EEF3AD /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
SDKROOT = appletvos;
};
name = Debug;
};
2FEA0D132490381A00EEF3AD /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
SDKROOT = appletvos;
};
name = Release;
};
2017-11-17 11:14:29 -05:00
A9092A911A81717C00051823 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
MACH_O_TYPE = mh_execute;
OTHER_LDFLAGS = (
"-ObjC",
"-w",
);
2017-11-17 11:14:29 -05:00
SDKROOT = macosx;
};
name = Debug;
};
A9092A921A81717C00051823 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
MACH_O_TYPE = mh_execute;
OTHER_LDFLAGS = (
"-ObjC",
"-w",
);
2017-11-17 11:14:29 -05:00
SDKROOT = macosx;
};
name = Release;
};
A93903BD1C57E9D700FE90DC /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
SDKROOT = iphoneos;
};
name = Debug;
};
A93903BE1C57E9D700FE90DC /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
SDKROOT = iphoneos;
};
name = Release;
};
A93903C51C57E9ED00FE90DC /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
SDKROOT = macosx;
};
name = Debug;
};
A93903C61C57E9ED00FE90DC /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
SDKROOT = macosx;
};
name = Release;
};
A9F55D3F198BE6A8004EC31B /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
ARCHS = "$(ARCHS_STANDARD_64_BIT)";
BITCODE_GENERATION_MODE = marker;
2017-11-17 11:14:29 -05:00
CLANG_CXX_LANGUAGE_STANDARD = "c++0x";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = NO;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_CXX0X_EXTENSIONS = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNGUARDED_AVAILABILITY = NO;
2017-11-17 11:14:29 -05:00
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
COPY_PHASE_STRIP = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_TESTABILITY = YES;
GCC_INLINES_ARE_PRIVATE_EXTERN = YES;
2017-11-17 11:14:29 -05:00
GCC_NO_COMMON_BLOCKS = YES;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PREPROCESSOR_DEFINITIONS = (
"DEBUG=1",
"SPIRV_CROSS_NAMESPACE_OVERRIDE=MVK_spirv_cross",
);
2017-11-17 11:14:29 -05:00
GCC_SYMBOLS_PRIVATE_EXTERN = YES;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_CHECK_SWITCH_STATEMENTS = NO;
2017-11-17 11:14:29 -05:00
GCC_WARN_HIDDEN_VIRTUAL_FUNCTIONS = YES;
GCC_WARN_NON_VIRTUAL_DESTRUCTOR = YES;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
2017-11-17 11:14:29 -05:00
GCC_WARN_UNUSED_FUNCTION = YES;
HEADER_SEARCH_PATHS = (
"$(inherited)",
"\"$(SRCROOT)\"",
"\"$(SRCROOT)/SPIRV-Cross\"",
"\"$(SRCROOT)/glslang\"",
"\"$(SRCROOT)/glslang/External/spirv-tools/include\"",
);
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
MACH_O_TYPE = staticlib;
MACOSX_DEPLOYMENT_TARGET = 10.11;
PRODUCT_NAME = MoltenVKShaderConverter;
2017-11-17 11:14:29 -05:00
SKIP_INSTALL = YES;
TVOS_DEPLOYMENT_TARGET = 9.0;
2017-11-17 11:14:29 -05:00
};
name = Debug;
};
A9F55D40198BE6A8004EC31B /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
ARCHS = "$(ARCHS_STANDARD_64_BIT)";
BITCODE_GENERATION_MODE = bitcode;
2017-11-17 11:14:29 -05:00
CLANG_CXX_LANGUAGE_STANDARD = "c++0x";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = NO;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_CXX0X_EXTENSIONS = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNGUARDED_AVAILABILITY = NO;
2017-11-17 11:14:29 -05:00
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
COPY_PHASE_STRIP = YES;
ENABLE_NS_ASSERTIONS = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
GCC_INLINES_ARE_PRIVATE_EXTERN = YES;
2017-11-17 11:14:29 -05:00
GCC_NO_COMMON_BLOCKS = YES;
GCC_OPTIMIZATION_LEVEL = fast;
GCC_PREPROCESSOR_DEFINITIONS = (
"NDEBUG=1",
"SPIRV_CROSS_NAMESPACE_OVERRIDE=MVK_spirv_cross",
);
2017-11-17 11:14:29 -05:00
GCC_SYMBOLS_PRIVATE_EXTERN = YES;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_CHECK_SWITCH_STATEMENTS = NO;
2017-11-17 11:14:29 -05:00
GCC_WARN_HIDDEN_VIRTUAL_FUNCTIONS = YES;
GCC_WARN_NON_VIRTUAL_DESTRUCTOR = YES;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
2017-11-17 11:14:29 -05:00
GCC_WARN_UNUSED_FUNCTION = YES;
HEADER_SEARCH_PATHS = (
"$(inherited)",
"\"$(SRCROOT)\"",
"\"$(SRCROOT)/SPIRV-Cross\"",
"\"$(SRCROOT)/glslang\"",
"\"$(SRCROOT)/glslang/External/spirv-tools/include\"",
);
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
MACH_O_TYPE = staticlib;
MACOSX_DEPLOYMENT_TARGET = 10.11;
PRODUCT_NAME = MoltenVKShaderConverter;
2017-11-17 11:14:29 -05:00
SKIP_INSTALL = YES;
TVOS_DEPLOYMENT_TARGET = 9.0;
2017-11-17 11:14:29 -05:00
VALIDATE_PRODUCT = YES;
};
name = Release;
};
/* End XCBuildConfiguration section */
/* Begin XCConfigurationList section */
2FEA0D112490381A00EEF3AD /* Build configuration list for PBXNativeTarget "MoltenVKShaderConverter-tvOS" */ = {
2020-06-09 14:52:03 -07:00
isa = XCConfigurationList;
buildConfigurations = (
2FEA0D122490381A00EEF3AD /* Debug */,
2FEA0D132490381A00EEF3AD /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
2017-11-17 11:14:29 -05:00
A9092A931A81717C00051823 /* Build configuration list for PBXNativeTarget "MoltenVKShaderConverter" */ = {
isa = XCConfigurationList;
buildConfigurations = (
A9092A911A81717C00051823 /* Debug */,
A9092A921A81717C00051823 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
A93903BC1C57E9D700FE90DC /* Build configuration list for PBXNativeTarget "MoltenVKShaderConverter-iOS" */ = {
2017-11-17 11:14:29 -05:00
isa = XCConfigurationList;
buildConfigurations = (
A93903BD1C57E9D700FE90DC /* Debug */,
A93903BE1C57E9D700FE90DC /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
A93903C41C57E9ED00FE90DC /* Build configuration list for PBXNativeTarget "MoltenVKShaderConverter-macOS" */ = {
2017-11-17 11:14:29 -05:00
isa = XCConfigurationList;
buildConfigurations = (
A93903C51C57E9ED00FE90DC /* Debug */,
A93903C61C57E9ED00FE90DC /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
A9F55D28198BE6A7004EC31B /* Build configuration list for PBXProject "MoltenVKShaderConverter" */ = {
isa = XCConfigurationList;
buildConfigurations = (
A9F55D3F198BE6A8004EC31B /* Debug */,
A9F55D40198BE6A8004EC31B /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
rootObject = A9F55D25198BE6A7004EC31B /* Project object */;
}