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

14.1 和14.4 节中的有关顶点 shader 的代码有误 #12

Open
super1011 opened this issue Apr 3, 2024 · 1 comment
Open

14.1 和14.4 节中的有关顶点 shader 的代码有误 #12

super1011 opened this issue Apr 3, 2024 · 1 comment

Comments

@super1011
Copy link

与原文的不一致。多了这几行。会导致shader 编译报错。

#extension GL_ARB_separate_shader_objects : enable
out gl_PerVertex {
vec4 gl_Position ;
} ;

@fangcun010
Copy link
Owner

感谢反馈,等我验证后会修正。你也可以提PR,我来合并你的修改。

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