summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNanley Chery <nanley.g.chery@intel.com>2016-10-05 09:32:52 -0700
committerNanley Chery <nanley.g.chery@intel.com>2016-10-05 09:41:21 -0700
commitf315c4f18987dc22d367361c1641a990eded42d6 (patch)
tree1632eb0841102e5e9dc58eac9cbef6ab4887c5c4
parente3a1d33077251987f52284afc6d59a154ec4c2bc (diff)
intel/blorp: Use documented RECTLIST vertex positions
Use the vertex positions described in the PRMs. This has no effect on rendering but quiets the simulator warnings seen when the vertices appear out of order. Signed-off-by: Nanley Chery <nanley.g.chery@intel.com> Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> Reviewed-by: Ben Widawsky <ben@bwidawsk.net>
-rw-r--r--src/intel/blorp/blorp_genX_exec.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/intel/blorp/blorp_genX_exec.h b/src/intel/blorp/blorp_genX_exec.h
index eb4a5b9f05..62f16a3ad7 100644
--- a/src/intel/blorp/blorp_genX_exec.h
+++ b/src/intel/blorp/blorp_genX_exec.h
@@ -171,8 +171,8 @@ blorp_emit_vertex_data(struct blorp_batch *batch,
uint32_t *size)
{
const float vertices[] = {
- /* v0 */ (float)params->x0, (float)params->y1,
- /* v1 */ (float)params->x1, (float)params->y1,
+ /* v0 */ (float)params->x1, (float)params->y1,
+ /* v1 */ (float)params->x0, (float)params->y1,
/* v2 */ (float)params->x0, (float)params->y0,
};
@@ -287,7 +287,7 @@ blorp_emit_vertex_elements(struct blorp_batch *batch,
* v2 ------ implied
* | |
* | |
- * v0 ----- v1
+ * v1 ----- v0
*
* Since the VS is disabled, the clipper loads each VUE directly from
* the URB. This is controlled by the 3DSTATE_VERTEX_BUFFERS and