some more stuff that idk why i did it

This commit is contained in:
Gregory Wells
2025-07-21 13:50:39 -04:00
parent 239d8bcdb8
commit a08778c099
5 changed files with 7 additions and 4 deletions

View File

@@ -12,7 +12,7 @@ gnReturnCode createMetalShaderModule(gnShaderModule module, gnDevice device, gnS
mtlCompilerInfo info = {
.code = shaderModuleInfo.code,
.wordCount = shaderModuleInfo.size / 4,
.entryPoint = shaderModuleInfo.entryPoint.value,
.entryPoint = gnToCString(shaderModuleInfo.entryPoint),
.stage = (shaderModuleInfo.stage == GN_FRAGMENT_SHADER_MODULE) ? mtlFragment : mtlVertex
};
if ((device->outputDevice->device.argumentBuffersSupport == MTLArgumentBuffersTier2)) {