mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2026-09-08 21:15:58 +00:00
[vulkan] Added flag to detect last mode from provokingVertex
This commit is contained in:
@@ -795,7 +795,8 @@ void GraphicsPipeline::MakePipeline(VkRenderPass render_pass) {
|
||||
const bool preserve_provoking_vertex_for_xfb =
|
||||
!key.state.xfb_enabled || device.IsTransformFeedbackProvokingVertexPreserved();
|
||||
const bool use_last_provoking_vertex =
|
||||
key.state.provoking_vertex_last != 0 && preserve_provoking_vertex_for_xfb;
|
||||
key.state.provoking_vertex_last != 0 && preserve_provoking_vertex_for_xfb &&
|
||||
device.IsProvokingVertexLastSupported();
|
||||
|
||||
VkPipelineRasterizationProvokingVertexStateCreateInfoEXT provoking_vertex{
|
||||
.sType = VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_PROVOKING_VERTEX_STATE_CREATE_INFO_EXT,
|
||||
|
||||
Reference in New Issue
Block a user