ilo: add GEN check to 3DSTATE_CLIP

Assert that gen6_emit_3DSTATE_CLIP is for GEN 6 and 7.
This commit is contained in:
Chia-I Wu
2013-08-22 14:55:13 +08:00
parent 2f142d596f
commit 475d7ecce2
+2
View File
@@ -1146,6 +1146,8 @@ gen6_emit_3DSTATE_CLIP(const struct ilo_dev_info *dev,
const uint8_t cmd_len = 4;
uint32_t dw1, dw2, dw3;
ILO_GPE_VALID_GEN(dev, 6, 7);
if (rasterizer) {
int interps;