intel/fs/gen12: Implement gl_FrontFacing on gen12+.
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 12 Jun 2018 06:21:57 +0000 (23:21 -0700)
committerFrancisco Jerez <currojerez@riseup.net>
Fri, 11 Oct 2019 19:24:16 +0000 (12:24 -0700)
commitc92fb60007f9c73a4c174f5f4cbce57fbc5118f4
treef133a30f50fa06309150dcbae7a6dcfa17564f66
parentceb123befa7a4f79727fc4626833396d2951f37b
intel/fs/gen12: Implement gl_FrontFacing on gen12+.

The bit moved on gen12 in order to prepare for dual-SIMD8 dispatch.
This implementation isn't an entirely complete as it only works on SIMD8
and SIMD16 and not dual-SIMD8.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/intel/compiler/brw_fs.cpp
src/intel/compiler/brw_fs_nir.cpp