commit | d2d4677b56efa0003065b61e39c1ef977c83f7da | [log] [tgz] |
---|---|---|
author | Brian Ho <brian@brkho.com> | Thu May 14 11:51:43 2020 -0700 |
committer | Marge Bot <eric+marge@anholt.net> | Mon Jun 22 14:35:45 2020 +0000 |
tree | 5560d8133d17aabdbdd8a2c48ffbf19cb5bdb45c | |
parent | ffc4d82438d9806c222a6eaadad5e00985e4d367 [diff] |
nir: Support sysval tess levels in SPIR-V to NIR This commit adds a tess_levels_are_sysvals flag to spirv_to_nir_options similar to GLSLTessLevelsAsInputs in the GLSL to NIR compiler options. This will be used by turnip as the tess IR3 lowering pass (ir3_nir_lower_tess) operates on TessLevelInner and TessLevelOuter in the DS as sysvals. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5059>