softpipe: don't clamp or do logical operations on floating-point buffers.
[mesa.git] / src / gallium / drivers / nouveau / nouveau_winsys.h
index 484f870bd86078c79e4d716cc992e0b6a876f118..524e63652f6ddab185d4bd7426ea36bd60e25ac0 100644 (file)
@@ -2,6 +2,8 @@
 #define NOUVEAU_WINSYS_H
 
 #include <stdint.h>
+#include <inttypes.h>
+
 #include "pipe/p_defines.h"
 
 #include "nouveau/nouveau_bo.h"
@@ -17,6 +19,9 @@
 #define NV04_PFIFO_MAX_PACKET_LEN 2047
 #endif
 
+#define NOUVEAU_RESOURCE_FLAG_LINEAR   (PIPE_RESOURCE_FLAG_DRV_PRIV << 0)
+#define NOUVEAU_RESOURCE_FLAG_DRV_PRIV (PIPE_RESOURCE_FLAG_DRV_PRIV << 1)
+
 static INLINE uint32_t
 nouveau_screen_transfer_flags(unsigned pipe)
 {