mesa/ARB_fp: Use the NIR pass for adding fog code instead of ARB instrs.
authorEmma Anholt <emma@anholt.net>
Tue, 16 May 2023 21:36:20 +0000 (14:36 -0700)
committerMarge Bot <emma+marge@anholt.net>
Thu, 1 Jun 2023 23:57:32 +0000 (23:57 +0000)
commit9301c08343697f9f7836a9b6b756276d266feca2
treebc98df17a2d7394d0773220903a6d0b7abf6dfc2
parent07c93cbdb0e8ebda1839b67837ae80c710695cdc
mesa/ARB_fp: Use the NIR pass for adding fog code instead of ARB instrs.

Tested with
https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/813

Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23111>
src/mesa/main/shader_types.h
src/mesa/program/arbprogparse.c
src/mesa/program/prog_to_nir.c
src/mesa/program/programopt.c
src/mesa/program/programopt.h
src/mesa/state_tracker/st_nir_lower_fog.c