nir: gather information about fbfetch and dual source color

Reviewed-by: Eric Anholt <eric@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6758>
This commit is contained in:
Marek Olšák
2020-09-17 20:25:22 -04:00
parent a6abf175ef
commit ea77958fea
2 changed files with 20 additions and 1 deletions

View File

@@ -248,6 +248,8 @@ typedef struct shader_info {
struct {
bool uses_discard:1;
bool uses_demote:1;
bool uses_fbfetch_output:1;
bool color_is_dual_source:1;
/**
* True if this fragment shader requires helper invocations. This