Signed-off-by: Michał Janiszewski <janisozaur+signed@gmail.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
* Surface/format/image helper code.
*/
* Surface/format/image helper code.
*/
+#ifndef SVGA3D_SURFACEDEFS_H
+#define SVGA3D_SURFACEDEFS_H
+
#include "svga3d_reg.h"
#define max_t(type, x, y) ((x) > (y) ? (x) : (y))
#include "svga3d_reg.h"
#define max_t(type, x, y) ((x) > (y) ? (x) : (y))
x / bw * desc->bytes_per_block);
return offset;
}
x / bw * desc->bytes_per_block);
return offset;
}
#include "pipe/p_compiler.h"
#include "util/u_atomic.h"
#include "pipe/p_compiler.h"
#include "util/u_atomic.h"