[Mesa-dev] [PATCH 4/8] compiler/nir: Use the new image_format enum

Jason Ekstrand jason at jlekstrand.net
Thu Jul 13 07:32:14 UTC 2017


---
 src/compiler/nir/nir.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/compiler/nir/nir.h b/src/compiler/nir/nir.h
index ab7ba14..1830165 100644
--- a/src/compiler/nir/nir.h
+++ b/src/compiler/nir/nir.h
@@ -297,7 +297,7 @@ typedef struct nir_variable {
          bool restrict_flag;
 
          /** Image internal format if specified explicitly, otherwise GL_NONE. */
-         GLenum format;
+         enum gl_image_format format;
       } image;
    } data;
 
-- 
2.5.0.400.gff86faf



More information about the mesa-dev mailing list