1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-25 20:22:30 +01:00

vk: change default border color to black; fix GEQUAL compare op

This commit is contained in:
kd-11 2016-05-31 15:00:31 +03:00
parent 60a7f9b3f2
commit 6b3c47a42a
2 changed files with 2 additions and 2 deletions

View File

@ -44,7 +44,7 @@ namespace vk
case CELL_GCM_LEQUAL:
return VK_COMPARE_OP_LESS_OR_EQUAL;
case CELL_GCM_GEQUAL:
return VK_COMPARE_OP_EQUAL;
return VK_COMPARE_OP_GREATER_OR_EQUAL;
case CELL_GCM_EQUAL:
return VK_COMPARE_OP_EQUAL;
case CELL_GCM_ALWAYS:

View File

@ -570,7 +570,7 @@ namespace vk
info.minFilter = min_filter;
info.mipmapMode = mipmap_mode;
info.compareOp = VK_COMPARE_OP_NEVER;
info.borderColor = VK_BORDER_COLOR_FLOAT_OPAQUE_WHITE;
info.borderColor = VK_BORDER_COLOR_FLOAT_OPAQUE_BLACK;
CHECK_RESULT(vkCreateSampler(m_device, &info, nullptr, &value));
}