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:
Mike Blumenkrantz 2024-03-05 10:04:49 -05:00 committed by Eric Engestrom
parent ae34f04d74
commit 68cf272b8a
2 changed files with 2 additions and 1 deletions

View file

@ -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

View file

@ -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;
}