mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-03 20:10:17 +01:00
anv/gen7: Fix the length of 3DSTATE_SF
This commit is contained in:
parent
e8c2a52a70
commit
abede04314
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue