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

An error occurs in OpenGL/Vulkan only #5

Open
jiaozi158 opened this issue Nov 30, 2021 · 0 comments
Open

An error occurs in OpenGL/Vulkan only #5

jiaozi158 opened this issue Nov 30, 2021 · 0 comments

Comments

@jiaozi158
Copy link
Contributor

I am currently using Unity 2021.2.0f1 ( URP 12.1 ).

( If not excluding the OpenGL Core and ES 3 API. )
image

There will be a compilation error when using OpenGL Core/Vulkan as target Graphics API.
image

But after deleting this structure in Common.hlsl, the error disappears. The shader ( tested Fin only ) works as expected.
image

I cannot find out which line occurs the error.
Can this error be fixed?

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

1 participant