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:
parent
60a7f9b3f2
commit
6b3c47a42a
@ -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:
|
||||
|
@ -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));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user