mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-14 18:19:36 +01:00
Vulkan: Mostly pass the validation layers in SDK 1.0.13
This commit is contained in:
1 parent
dff085f29f
commit
fd0af5b271
3 files changed
+3
-13
No files matched your search
@@ -827,9 +827,7 @@ VkPipeline Thin3DVKContext::GetOrCreatePipeline() {
|
||||
dynamicInfo.dynamicStateCount = ARRAY_SIZE(dynamics);
|
||||
dynamicInfo.pDynamicStates = dynamics;
|
||||
|
||||
VkPipelineRasterizationStateCreateInfo raster;
|
||||
raster.sType = VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_CREATE_INFO;
|
||||
raster.pNext = nullptr;
|
||||
VkPipelineRasterizationStateCreateInfo raster = { VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_CREATE_INFO };
|
||||
switch (curCullMode_) {
|
||||
case NO_CULL: raster.cullMode = VK_CULL_MODE_NONE; break;
|
||||
case CW: raster.cullMode = VK_CULL_MODE_BACK_BIT; break;
|
||||
|
||||
Reference in new issue
Block a user