projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e8c2a52
)
anv/gen7: Fix the length of 3DSTATE_SF
author
Jason Ekstrand
<jason.ekstrand@intel.com>
Tue, 10 Nov 2015 00:03:49 +0000
(16:03 -0800)
committer
Jason Ekstrand
<jason.ekstrand@intel.com>
Tue, 10 Nov 2015 00:04:07 +0000
(16:04 -0800)
src/vulkan/gen7_cmd_buffer.c
patch
|
blob
|
history
diff --git
a/src/vulkan/gen7_cmd_buffer.c
b/src/vulkan/gen7_cmd_buffer.c
index a99881f2eb991f06b7c6f60ffc89f4bd699feb54..af76126c3a90f44370a30d703c0d862ac88d462d 100644
(file)
--- a/
src/vulkan/gen7_cmd_buffer.c
+++ b/
src/vulkan/gen7_cmd_buffer.c
@@
-269,7
+269,7
@@
gen7_cmd_buffer_flush_state(struct anv_cmd_buffer *cmd_buffer)
bool enable_bias = cmd_buffer->state.dynamic.depth_bias.bias != 0.0f ||
cmd_buffer->state.dynamic.depth_bias.slope_scaled != 0.0f;
- uint32_t sf_dw[GEN
8
_3DSTATE_SF_length];
+ uint32_t sf_dw[GEN
7
_3DSTATE_SF_length];
struct GEN7_3DSTATE_SF sf = {
GEN7_3DSTATE_SF_header,
.LineWidth = cmd_buffer->state.dynamic.line_width,