i965/vec4_nir: Load constants as integers
[mesa.git] / src / mesa / drivers / dri / nouveau / nouveau_texture.h
index fc170215f3535961dff181db1f42c9712ce2290e..562429f146b0d269d31349c9e874184a2546f350 100644 (file)
 #ifndef __NOUVEAU_TEXTURE_H__
 #define __NOUVEAU_TEXTURE_H__
 
+#include "swrast/s_context.h"
+
 struct nouveau_teximage {
-       struct gl_texture_image base;
+       struct swrast_texture_image base;
        struct nouveau_surface surface;
+       struct {
+               struct nouveau_surface surface;
+               int x, y;
+       } transfer;
 };
 #define to_nouveau_teximage(x) ((struct nouveau_teximage *)(x))