-
Notifications
You must be signed in to change notification settings - Fork 15
Implement dynamically uniform expression restrictions #56
Comments
At 2018-09-13T01:50:51Z, [email protected] wrote: |
At 2018-09-24T17:37:06Z, [email protected] wrote: Then, after we know whether or not each value is uniform, we can associate each nested scope with a similar uniformity attribute. This is true iff the condition leading to that scope is uniform. We apply the restriction that any AssignmentExpression inside a non-uniform scope must never assign to a uniform variable that is declared in the non-innermost scope. This should guarantee that all uniform variables are, indeed, uniform. Then, we can require any IndexExpression that indexes into an array which contains textures to use a uniform index. |
At 2018-09-24T18:14:24Z, [email protected] wrote: |
At 2018-09-24T18:18:09Z, [email protected] wrote: |
At 2018-09-24T18:25:41Z, [email protected] wrote: |
At 2018-09-24T18:28:16Z, [email protected] wrote:
This isn't quite right - the continue & break can affect just the remainder of the scope. Also, uniforms should only exist in thread / constant address space. |
At 2018-09-24T18:37:48Z, [email protected] wrote:
and "return" In general, returns should be modeled as an assignment to a variable that's outside the function scope. |
At 2018-09-24T18:41:52Z, [email protected] wrote:
Actually, we can do better - just treat early returns as marking the rest of the scope non-uniform, and treating the return as writing to a value that's outside the scope |
At 2018-10-05T02:45:53Z, [email protected] wrote: |
At 2018-10-05T02:47:32Z, [email protected] wrote: |
At 2018-10-06T02:35:24Z, [email protected] wrote: |
At 2018-10-09T07:07:01Z, [email protected] wrote: |
At 2018-10-09T07:25:46Z, [email protected] wrote: |
Migrated from https://bugs.webkit.org/show_bug.cgi?id=189125:
At 2018-08-29T23:36:49Z, [email protected] wrote:
Implement dynamically uniform expression restrictions
The text was updated successfully, but these errors were encountered: