Skip to content

Conversation

@sarahM0
Copy link
Contributor

@sarahM0 sarahM0 commented Nov 24, 2020

Here are my proposed validation rules for runtime-sized arrays:
v-0015: The last member of the structure type defining the "store type" for variable in the storage storage class may be a runtime-sized array.
v-0030: A runtime-sized array must not be used as the store type or contained within a store type except as allowed by v-0015
v-0031: The type of an expression must not be a runtime-sized array type.
v-0032: A runtime-sized array must have a stride attribute.

@sarahM0 sarahM0 force-pushed the runtime-block branch 2 times, most recently from ad2a2b0 to b66060f Compare November 25, 2020 18:10
@sarahM0
Copy link
Contributor Author

sarahM0 commented Nov 25, 2020

I just added v-0032. Thanks to @kainino0x and @Kangz for bringing it up.

@sarahM0
Copy link
Contributor Author

sarahM0 commented Nov 26, 2020

Thanks for the feedback @kvark. I rewrote the rules to avoid redundancies.

@sarahM0 sarahM0 requested a review from kvark November 26, 2020 19:44
@sarahM0 sarahM0 merged commit 695bca7 into gpuweb:main Dec 1, 2020
ben-clayton pushed a commit to ben-clayton/gpuweb that referenced this pull request Sep 6, 2022
This CL adds unimplemented stub tests for the `dpdy` builtin.

Issue: gpuweb#1252
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

Successfully merging this pull request may close these issues.

4 participants