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

gl_WorkGroupSize declaration issue. #2627

Open
ZhiqianXia opened this issue Apr 28, 2021 · 4 comments
Open

gl_WorkGroupSize declaration issue. #2627

ZhiqianXia opened this issue Apr 28, 2021 · 4 comments
Assignees

Comments

@ZhiqianXia
Copy link
Contributor

ZhiqianXia commented Apr 28, 2021

Hi , The glslang should report the error about :

It is a compile-time error to use gl_WorkGroupSize in a shader that does not declare a fixed
workgroup size, or before that shader has declared a fixed workgroup size, using local_size_x,
local_size_y, and local_size_z.

And i noticed that the #2479 and #2549 had fixed the issue for gl_WorkGroupSize , but that doesn't works
for each conponent of gl_WorkGroupSize. Thanks for any help this issue.

shader:

#version 310 es
layout(std430) buffer Output {
  uint g_output;
};
void main() {
  g_output = gl_WorkGroupSize.x;
}
``
@ZhiqianXia ZhiqianXia changed the title local_size_x/local_size_y/local_size_z declaration issue. gl_WorkGroupSize declaration issue. Apr 28, 2021
@ZhiqianXia
Copy link
Contributor Author

ping @jeremy-lunarg .

@jeremy-lunarg
Copy link
Contributor

This is next in my queue, but will be a little while until I can get to it.

@ZhiqianXia
Copy link
Contributor Author

@jeremy-lunarg thank you.

@cezneluk
Copy link

@jeremy-lunarg Sorry for bothering you, but what is the status of this issue?

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

No branches or pull requests

4 participants