freedreno/ir3: handle const/immed/abs/neg in cp
[mesa.git] / src / gallium / drivers / freedreno / freedreno_util.h
index ec1db94f6495b5f8026b0d74f3c1b26721f8d0a6..b3076b9f5c64a9b74540df6d571eb6e56ebfd54a 100644 (file)
@@ -62,10 +62,9 @@ enum adreno_stencil_op fd_stencil_op(unsigned op);
 #define FD_DBG_NOBYPASS 0x0040
 #define FD_DBG_FRAGHALF 0x0080
 #define FD_DBG_NOBIN    0x0100
-#define FD_DBG_NOOPT    0x0200
 #define FD_DBG_OPTMSGS  0x0400
 #define FD_DBG_OPTDUMP  0x0800
-#define FD_DBG_GLSL130  0x1000
+#define FD_DBG_GLSL120  0x1000
 #define FD_DBG_NOCP     0x2000
 
 extern int fd_mesa_debug;
@@ -76,8 +75,6 @@ extern bool fd_binning_enabled;
                        debug_printf("%s:%d: "fmt "\n", \
                                __FUNCTION__, __LINE__, ##__VA_ARGS__); } while (0)
 
-#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]))
-
 /* for conditionally setting boolean flag(s): */
 #define COND(bool, val) ((bool) ? (val) : 0)