mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 13:58:04 +02:00
anv/pipeline: Handle null wm_prog_data in 3DSTATE_CLIP
This commit is contained in:
parent
7b348ab8a0
commit
8502794c12
1 changed files with 2 additions and 2 deletions
|
|
@ -344,8 +344,8 @@ genX(graphics_pipeline_create)(
|
|||
pCreateInfo->pRasterizationState->rasterizerDiscardEnable ?
|
||||
REJECT_ALL : NORMAL,
|
||||
|
||||
.NonPerspectiveBarycentricEnable =
|
||||
(wm_prog_data->barycentric_interp_modes & 0x38) != 0,
|
||||
.NonPerspectiveBarycentricEnable = wm_prog_data ?
|
||||
(wm_prog_data->barycentric_interp_modes & 0x38) != 0 : 0,
|
||||
|
||||
.TriangleStripListProvokingVertexSelect = 0,
|
||||
.LineStripListProvokingVertexSelect = 0,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue