[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Public WebGL] conformance tests update: do-loop and while-loop related



Thanks for fixing this. I've clarified this in
http://www.khronos.org/registry/webgl/specs/latest/#4.3 (might need to
shift-reload in a few minutes).

-Ken


On Wed, Apr 18, 2012 at 12:46 PM, Mo, Zhenyao <zhenyao@gmail.com> wrote:
>
> I just removed the shader-with-do-scoping.html and added two more tests:
>
> shader-with-do-loop.html and shader-with-while-loop.html.
>
> In GLSL ES spec 1.0.17 Appendix A, section 4, "Support for while and
> do-while is not mandated".  Therefore, for WebGL programs to be
> portable, we should not allow while-loop and do-while-loop in WebGL.
>
> The added two tests make sure these two types of loops are disallowed.
>  In ANGLE's shader validator, we have been rejecting these two types
> of loops for a long time.
>
> The removed test was wrong because it assumed do-loop is allowed and
> was testing the do-loop related scoping issue.
>
> This change is for conformance test 1.0.2; they do not affect 1.0.1.
>
> Let me know if there is an issue.
>
> Mo
>
> -----------------------------------------------------------
> You are currently subscribed to public_webgl@khronos.org.
> To unsubscribe, send an email to majordomo@khronos.org with
> the following command in the body of your email:
> unsubscribe public_webgl
> -----------------------------------------------------------
>

-----------------------------------------------------------
You are currently subscribed to public_webgl@khronos.org.
To unsubscribe, send an email to majordomo@khronos.org with
the following command in the body of your email:
unsubscribe public_webgl
-----------------------------------------------------------