projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f142d5
)
ilo: add GEN check to 3DSTATE_CLIP
author
Chia-I Wu
<olvaffe@gmail.com>
Thu, 22 Aug 2013 06:55:13 +0000
(14:55 +0800)
committer
Chia-I Wu
<olvaffe@gmail.com>
Thu, 22 Aug 2013 07:18:29 +0000
(15:18 +0800)
Assert that gen6_emit_3DSTATE_CLIP is for GEN 6 and 7.
src/gallium/drivers/ilo/ilo_gpe_gen6.h
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/ilo/ilo_gpe_gen6.h
b/src/gallium/drivers/ilo/ilo_gpe_gen6.h
index a3dea39349cb25247d408668ed9e035988432801..f9bffa9d4d28418e89c0f4bbf742d1fb5378f47c 100644
(file)
--- 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;