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

gfauto always uses binding 0 when making a buffer for a compute shader #982

Open
afd opened this issue May 5, 2020 · 0 comments
Open

gfauto always uses binding 0 when making a buffer for a compute shader #982

afd opened this issue May 5, 2020 · 0 comments
Assignees

Comments

@afd
Copy link
Contributor

afd commented May 5, 2020

Line 663 of amber_converter.py has:

       result += f"  BIND BUFFER {ssbo_name} AS storage DESCRIPTOR_SET 0 BINDING 0\n"

This always uses binding 0, even if the JSON data specifies a different binding, as in the following:

{
  "$compute": {
    "buffer": {
      "fields": [ { "type": "uint", "data": [0] } ],
      "binding": 1
    },
    "num_groups": [1, 1, 1]
  }
}
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