mesa/src
Ian Romanick 945fb51fb5 intel/fs: Fix gl_FrontFacing optimization on Gfx12+
It's not obvious why the (gl_FrontFacing ? -1.0 : 1.0) case was handled
different for Gfx12+ than for previous generations, and it's not
correct.  It tries to negate the result as an integer, and it does this
before the mask operation that clears the other bits in the value.

When we eventually support dual-SIMD8 dispatch, the other front-facing
bit is in g1.6 at bit 15, so similar code should be possible there.

Reviewed-by: Matt Turner <mattst88@gmail.com>
Fixes: c92fb60007 ("intel/fs/gen12: Implement gl_FrontFacing on gen12+.")
Closes: #5876
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14625>
2022-01-20 22:37:18 +00:00
..
amd radv: Update LoaderICDInterfaceVersion to v5 2022-01-20 07:25:07 +00:00
android_stub android_stub: update platform headers to include atrace 2021-10-09 00:42:32 +00:00
asahi agx: Handle discard intrinsics 2022-01-16 18:23:28 +00:00
broadcom v3dv: Update LoaderICDInterfaceVersion to v5 2022-01-20 07:25:07 +00:00
compiler glsl: drop glheader.h include. 2022-01-20 00:20:06 +00:00
drm-shim drm-shim: Support kernels with >4k pages 2021-08-13 23:33:52 +00:00
egl egl/dri2: short-circuit dri2_make_current when possible 2022-01-17 10:32:01 +00:00
etnaviv ci: Uprev piglit to af1785f31 2022-01-10 21:52:42 +00:00
freedreno tu: expose VK_KHR_copy_commands2 2022-01-20 10:43:31 +00:00
gallium zink: fix non-modifer dmabuf usage 2022-01-20 21:33:54 +00:00
gbm replace 0 with NULL for NULL pointers 2022-01-10 22:53:32 +00:00
getopt
glx replace 0 with NULL for NULL pointers 2022-01-10 22:53:32 +00:00
gtest gtest: Fix output of array ASSERT/EXPECT macros 2021-11-11 09:53:09 -08:00
hgl
imgui
intel intel/fs: Fix gl_FrontFacing optimization on Gfx12+ 2022-01-20 22:37:18 +00:00
loader loader: Restore i915g support. 2021-12-09 09:05:23 -08:00
mapi mapi: generate correct dispatch for EXT_draw_instanced 2022-01-03 21:37:34 +00:00
mesa mesa: refactor GetProgramiv to use program resource list 2022-01-20 05:52:53 +00:00
microsoft mesa/*: add a shader primitive type to get away from GL types. 2022-01-19 21:54:58 +00:00
nouveau
panfrost panvk: Update LoaderICDInterfaceVersion to v5 2022-01-20 07:25:07 +00:00
tool pps: increase intel.cfg buffer size 2022-01-14 20:17:44 +00:00
util includes: add windows lean and mean guard. 2022-01-19 21:54:58 +00:00
virtio venus: VkExternalImageFormatProperties is optional 2022-01-13 02:59:51 +00:00
vulkan vulkan/runtime: fix accessing NULL pointers detected by UBSAN 2022-01-19 16:16:08 +00:00
meson.build meson: start building intel earlier. 2022-01-20 06:41:17 +00:00