From 4d36dceeabcc59155f2fa4acaf171ce2f3d4418c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Fri, 14 Aug 2020 19:13:52 -0400 Subject: [PATCH] nir: add shader_info::io_lowered This will drive decisions in many NIR passes and st/mesa. Reviewed-by: Eric Anholt Part-of: --- src/compiler/shader_info.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/compiler/shader_info.h b/src/compiler/shader_info.h index 8c632de5387..844815d39c1 100644 --- a/src/compiler/shader_info.h +++ b/src/compiler/shader_info.h @@ -193,6 +193,11 @@ typedef struct shader_info { /* Whether flrp has been lowered. */ bool flrp_lowered:1; + /* Whether nir_lower_io has been called to lower derefs. + * nir_variables for inputs and outputs might not be present in the IR. + */ + bool io_lowered:1; + /* Whether the shader writes memory, including transform feedback. */ bool writes_memory:1; -- 2.30.2