aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/ilo
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2013-08-22 14:55:13 +0800
committerChia-I Wu <[email protected]>2013-08-22 15:18:29 +0800
commit475d7ecce2f1e78b373628a886e5adfa1805c244 (patch)
treed0cc991729f5e3a9b60b62493386a70204c8fbfa /src/gallium/drivers/ilo
parent2f142d596f6d950499d5e25d26e011a675c9670c (diff)
ilo: add GEN check to 3DSTATE_CLIP
Assert that gen6_emit_3DSTATE_CLIP is for GEN 6 and 7.
Diffstat (limited to 'src/gallium/drivers/ilo')
-rw-r--r--src/gallium/drivers/ilo/ilo_gpe_gen6.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/ilo/ilo_gpe_gen6.h b/src/gallium/drivers/ilo/ilo_gpe_gen6.h
index a3dea39349c..f9bffa9d4d2 100644
--- a/src/gallium/drivers/ilo/ilo_gpe_gen6.h
+++ b/src/gallium/drivers/ilo/ilo_gpe_gen6.h
@@ -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;