mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 07:08:04 +02:00
zink: call CmdSetRasterizationStreamEXT when using shader objects
required by spec
cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27990>
(cherry picked from commit ea9d87bf75)
This commit is contained in:
parent
ae34f04d74
commit
68cf272b8a
2 changed files with 2 additions and 1 deletions
|
|
@ -1064,7 +1064,7 @@
|
|||
"description": "zink: call CmdSetRasterizationStreamEXT when using shader objects",
|
||||
"nominated": true,
|
||||
"nomination_type": 0,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": null,
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -437,6 +437,7 @@ update_gfx_pipeline(struct zink_context *ctx, struct zink_batch_state *bs, enum
|
|||
VKCTX(CmdSetDepthBiasEnable)(bs->cmdbuf, VK_TRUE);
|
||||
VKCTX(CmdSetTessellationDomainOriginEXT)(bs->cmdbuf, VK_TESSELLATION_DOMAIN_ORIGIN_LOWER_LEFT);
|
||||
VKCTX(CmdSetSampleLocationsEnableEXT)(bs->cmdbuf, ctx->gfx_pipeline_state.sample_locations_enabled);
|
||||
VKCTX(CmdSetRasterizationStreamEXT)(bs->cmdbuf, 0);
|
||||
}
|
||||
ctx->shobj_draw = true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue