struct lp_rasterizer_task;
+extern const float lp_sample_pos_4x[4][2];
/**
* Rasterization state.
/* one-pixel sized trivial reject offsets for each plane */
uint32_t eo;
+ /*
+ * We rely on this struct being 64bit aligned (ideally it would be 128bit
+ * but that's quite the waste) and therefore on 32bit we need padding
+ * since otherwise (even with the 64bit number in there) it wouldn't be.
+ */
+ uint32_t pad;
};
/**
#define LP_RAST_OP_TRIANGLE_32_3_16 0x1b
#define LP_RAST_OP_TRIANGLE_32_4_16 0x1c
-#define LP_RAST_OP_MAX 0x1d
+#define LP_RAST_OP_MS_TRIANGLE_1 0x1d
+#define LP_RAST_OP_MS_TRIANGLE_2 0x1e
+#define LP_RAST_OP_MS_TRIANGLE_3 0x1f
+#define LP_RAST_OP_MS_TRIANGLE_4 0x20
+#define LP_RAST_OP_MS_TRIANGLE_5 0x21
+#define LP_RAST_OP_MS_TRIANGLE_6 0x22
+#define LP_RAST_OP_MS_TRIANGLE_7 0x23
+#define LP_RAST_OP_MS_TRIANGLE_8 0x24
+#define LP_RAST_OP_MS_TRIANGLE_3_4 0x25
+#define LP_RAST_OP_MS_TRIANGLE_3_16 0x26
+#define LP_RAST_OP_MS_TRIANGLE_4_16 0x27
+#define LP_RAST_OP_MAX 0x28
#define LP_RAST_OP_MASK 0xff
void
lp_debug_draw_bins_by_coverage( struct lp_scene *scene );
-#ifdef PIPE_ARCH_SSE
-#include <emmintrin.h>
-#include "util/u_sse.h"
-
-static inline __m128i
-lp_plane_to_m128i(const struct lp_rast_plane *plane)
-{
- return _mm_setr_epi32((int32_t)plane->c, (int32_t)plane->dcdx,
- (int32_t)plane->dcdy, (int32_t)plane->eo);
-}
-
-#endif
-
#endif