intel/compiler: store the FS inputs in WM prog data
authorJuan A. Suarez Romero <jasuarez@igalia.com>
Tue, 31 Mar 2020 10:45:26 +0000 (10:45 +0000)
committerMarge Bot <eric+marge@anholt.net>
Wed, 1 Apr 2020 23:36:28 +0000 (23:36 +0000)
commit460de2159e2aa8e67f216d9ad8e9ce00cc8c9679
tree32bd8d55cc833abb04439fc95283dcd1560314f4
parent67c7cabd7fa9e6babb423080d53a045980e295ef
intel/compiler: store the FS inputs in WM prog data

Store the fragment shader inputs in the program data so we can use them
later when required without needing the NIR shader.

Cc: mesa-stable@lists.freedesktop.org
Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Ivan Briano <ivan.briano@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/2010>
src/intel/compiler/brw_compiler.h
src/intel/compiler/brw_fs.cpp