Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VRS tutorial crashes on iOS #89

Open
speedym opened this issue Feb 23, 2022 · 1 comment
Open

VRS tutorial crashes on iOS #89

speedym opened this issue Feb 23, 2022 · 1 comment

Comments

@speedym
Copy link

speedym commented Feb 23, 2022

I'm getting the following run-time when trying to run VRS example (XCode 13.2.1):

Diligent Engine: ERROR in ShaderMtlImpl() (ShaderMtlImpl.mm, 423): Failed to compile MSL source:
program_source:9:10: fatal error: 'Structures.fxh' file not found
#include "Structures.fxh"
^~~~~~~~~~~~~~~~

Diligent Engine: ERROR in CreateDeviceObject() (RenderDeviceBase.hpp, 511): Failed to create Shader object 'Blit - VS'

Diligent Engine: ERROR in ShaderMtlImpl() (ShaderMtlImpl.mm, 423): Failed to compile MSL source:
program_source:9:10: fatal error: 'Structures.fxh' file not found
#include "Structures.fxh"
^~~~~~~~~~~~~~~~

Diligent Engine: ERROR in CreateDeviceObject() (RenderDeviceBase.hpp, 511): Failed to create Shader object 'Blit - PS'

Diligent Engine: ERROR in ValidateGraphicsPipelineCreateInfo() (PipelineStateBase.cpp, 554): Description of graphics PSO 'Blit to swapchain image' is invalid: Vertex shader must not be null.

Diligent Engine: ERROR in CreateDeviceObject() (RenderDeviceBase.hpp, 511): Failed to create Pipeline State object 'Blit to swapchain image'

@TheMostDiligent
Copy link
Contributor

For some reason Metal can't open include files even though they are in the package when compiling shaders on iOS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants