commit | 9ec305ead7750c7f91c79b043584c1997bacd9a7 | [log] [tgz] |
---|---|---|
author | Marek Olšák <marek.olsak@amd.com> | Thu Oct 16 16:21:54 2014 +0200 |
committer | Marek Olšák <marek.olsak@amd.com> | Tue Oct 21 22:01:16 2014 +0200 |
tree | 40711b45a068fab073286a231f149a2e1e6f31f7 | |
parent | e8764a46731aaa20d6c7bc98d227e1a94fafbf5b [diff] |
glsl_to_tgsi: fix the value of gl_FrontFacing with native integers We must convert it to boolean from the DX9 float encoding that Gallium specifies. Later, we should probably define that FACE should be 0 or ~0 if native integers are supported. Cc: 10.2 10.3 <mesa-stable@lists.freedesktop.org> Reviewed-by: Eric Anholt <eric@anholt.net>