summaryrefslogtreecommitdiffstats
path: root/src/intel/blorp
diff options
context:
space:
mode:
authorRafael Antognolli <[email protected]>2017-04-19 16:04:12 -0700
committerKenneth Graunke <[email protected]>2017-05-03 16:41:07 -0700
commitb89805a7bcf19239cccae6152adbe3b5023f654e (patch)
tree0c4f22b2c05ecb34b217aaaff580375a8f7a0fe2 /src/intel/blorp
parentc032cae9ff77ee4863bacbbd6f9d3fc931e29dd9 (diff)
genxml: Normalize xml for 3DSTATE_MULTISAMPLE.
Name the options to "Pixel Location": - PIXLOC_CENTER -> CENTER - PIXLOC_UL_CORNER -> UL_CORNER Signed-off-by: Rafael Antognolli <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/intel/blorp')
-rw-r--r--src/intel/blorp/blorp_genX_exec.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/intel/blorp/blorp_genX_exec.h b/src/intel/blorp/blorp_genX_exec.h
index bc829d026cb..be22be09ab5 100644
--- a/src/intel/blorp/blorp_genX_exec.h
+++ b/src/intel/blorp/blorp_genX_exec.h
@@ -1188,9 +1188,7 @@ blorp_emit_3dstate_multisample(struct blorp_batch *batch,
* should not have any effect by setting or not setting this bit.
*/
ms.PixelPositionOffsetEnable = false;
- ms.PixelLocation = CENTER;
#elif GEN_GEN >= 7
- ms.PixelLocation = PIXLOC_CENTER;
switch (params->num_samples) {
case 1:
@@ -1209,9 +1207,9 @@ blorp_emit_3dstate_multisample(struct blorp_batch *batch,
break;
}
#else
- ms.PixelLocation = PIXLOC_CENTER;
GEN_SAMPLE_POS_4X(ms.Sample);
#endif
+ ms.PixelLocation = CENTER;
}
}