Skip to content
This repository was archived by the owner on Jan 29, 2025. It is now read-only.

glsl-out: Write correct argument name when skipping samplers #1671

Merged
merged 1 commit into from
Jan 16, 2022

Conversation

JCapucho
Copy link
Collaborator

Previously the name of the sampler would be picked for the next argument, this is bad for two reasons:

  • The debug data would be wrong
  • If the argument was a pointer and written to, the expression would pick the right name but there wouldn't be a argument with that name

@kvark kvark added the can backport PR that can be back-ported to a release branch label Jan 16, 2022
@kvark kvark merged commit b42bf87 into gfx-rs:master Jan 16, 2022
@kvark kvark mentioned this pull request Jan 21, 2022
@kvark kvark removed the can backport PR that can be back-ported to a release branch label Jan 21, 2022
@kvark
Copy link
Member

kvark commented Jan 21, 2022

published in 0.8.3

@JCapucho JCapucho deleted the glsl-out-names branch February 19, 2022 15:11
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants