projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
i965/urb: fixes division by zero
[mesa.git]
/
src
/
mesa
/
drivers
/
dri
/
i965
/
gen8_vs_state.c
diff --git
a/src/mesa/drivers/dri/i965/gen8_vs_state.c
b/src/mesa/drivers/dri/i965/gen8_vs_state.c
index fd59a86b77f2bfbe7b340150cd4b8b041befa4be..d4a345583d68e91cc372469d915053290bd678eb 100644
(file)
--- a/
src/mesa/drivers/dri/i965/gen8_vs_state.c
+++ b/
src/mesa/drivers/dri/i965/gen8_vs_state.c
@@
-77,7
+77,8
@@
upload_vs_state(struct brw_context *brw)
GEN6_VS_ENABLE);
/* _NEW_TRANSFORM */
- OUT_BATCH((ctx->Transform.ClipPlanesEnabled <<
+ OUT_BATCH(prog_data->cull_distance_mask |
+ (ctx->Transform.ClipPlanesEnabled <<
GEN8_VS_USER_CLIP_DISTANCE_SHIFT));
ADVANCE_BATCH();
}