glsl,nir: Switch the enum representing shader image formats to PIPE_FORMAT.
[mesa.git] / src / gallium / drivers / nouveau / codegen / nv50_ir.h
index b19751ab372ee5608d89f85967fc3790e86838dd..296b79f5d4941d0de29c728f4b7baf43e84ccc69 100644 (file)
@@ -1016,6 +1016,8 @@ public:
    };
 
    static const struct ImgFormatDesc formatTable[IMG_FORMAT_COUNT];
+   static const struct ImgFormatDesc *translateImgFormat(
+         enum pipe_format format);
 
 public:
    TexInstruction(Function *, operation);