-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Fix countItems in DataFilterExtension #9158
Conversation
@@ -19,7 +18,8 @@ const float component = 1.0 / 255.0; | |||
|
|||
void main() { | |||
#ifdef FLOAT_TARGET | |||
dataFilter_value *= float(filterIndices != filterPrevIndices); | |||
// BUG: always 0 for some reason | |||
// dataFilter_value *= float(filterIndices != filterPrevIndices); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Pessimistress any idea why this is broken? I've tried different variants of the check and it always evaluates to 0. Perhaps there is something wrong with using vertexOffset
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Subtle catch of v9 - when an attribute's descriptor contains shaderAttributes
, the sub-attributes cannot use the same name.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That is subtle indeed :) would be nice if the types could catch this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this, LGTM.
Background
countItems
has not been working since the upgrade to v9Change List
filterModel
creation