[Mesa-dev] [PATCH 08/23] glsl/parser: Handle the early_fragment_tests input layout qualifier.

Paul Berry stereotype441 at gmail.com
Wed Dec 11 13:27:59 PST 2013


On 26 November 2013 00:02, Francisco Jerez <currojerez at riseup.net> wrote:

>
> +
> +      if (qualifier.flags.q.early_fragment_tests) {
> +         state->early_fragment_tests = true;
> +         qualifier.flags.q.early_fragment_tests = 0;
> +      }
>

"early_fragment_tests" should only be allowed in fragment shaders.  As
written, the code permits it for any shader input.

With that fixed, this patch is:

Reviewed-by: Paul Berry <stereotype441 at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20131211/5d6d51a0/attachment.html>


More information about the mesa-dev mailing list