summaryrefslogtreecommitdiffstats
path: root/src/vulkan/gen7_cmd_buffer.c
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2015-11-09 16:03:49 -0800
committerJason Ekstrand <[email protected]>2015-11-09 16:04:07 -0800
commitabede04314ac1d5c4e81929a984b46f0ca7901df (patch)
tree5a4de21e730464a6c66b2b27e3a01028b79cb5f5 /src/vulkan/gen7_cmd_buffer.c
parente8c2a52a704d1c5cefc55b59a28a62e59f70ce6a (diff)
anv/gen7: Fix the length of 3DSTATE_SF
Diffstat (limited to 'src/vulkan/gen7_cmd_buffer.c')
-rw-r--r--src/vulkan/gen7_cmd_buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vulkan/gen7_cmd_buffer.c b/src/vulkan/gen7_cmd_buffer.c
index a99881f2eb9..af76126c3a9 100644
--- 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[GEN8_3DSTATE_SF_length];
+ uint32_t sf_dw[GEN7_3DSTATE_SF_length];
struct GEN7_3DSTATE_SF sf = {
GEN7_3DSTATE_SF_header,
.LineWidth = cmd_buffer->state.dynamic.line_width,