mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2024-11-23 03:09:55 +00:00
Fix border color (#1548)
Some checks are pending
Build and Release / reuse (push) Waiting to run
Build and Release / clang-format (push) Waiting to run
Build and Release / get-info (push) Waiting to run
Build and Release / windows-sdl (push) Blocked by required conditions
Build and Release / windows-qt (push) Blocked by required conditions
Build and Release / macos-sdl (push) Blocked by required conditions
Build and Release / macos-qt (push) Blocked by required conditions
Build and Release / linux-sdl (push) Blocked by required conditions
Build and Release / linux-qt (push) Blocked by required conditions
Build and Release / pre-release (push) Blocked by required conditions
Some checks are pending
Build and Release / reuse (push) Waiting to run
Build and Release / clang-format (push) Waiting to run
Build and Release / get-info (push) Waiting to run
Build and Release / windows-sdl (push) Blocked by required conditions
Build and Release / windows-qt (push) Blocked by required conditions
Build and Release / macos-sdl (push) Blocked by required conditions
Build and Release / macos-qt (push) Blocked by required conditions
Build and Release / linux-sdl (push) Blocked by required conditions
Build and Release / linux-qt (push) Blocked by required conditions
Build and Release / pre-release (push) Blocked by required conditions
This commit is contained in:
parent
8fbd9187f8
commit
c45af9a2ca
@ -358,8 +358,8 @@ enum class MipFilter : u64 {
|
||||
};
|
||||
|
||||
enum class BorderColor : u64 {
|
||||
OpaqueBlack = 0,
|
||||
TransparentBlack = 1,
|
||||
TransparentBlack = 0,
|
||||
OpaqueBlack = 1,
|
||||
White = 2,
|
||||
Custom = 3,
|
||||
};
|
||||
|
@ -285,10 +285,10 @@ vk::SamplerMipmapMode MipFilter(AmdGpu::MipFilter filter) {
|
||||
|
||||
vk::BorderColor BorderColor(AmdGpu::BorderColor color) {
|
||||
switch (color) {
|
||||
case AmdGpu::BorderColor::OpaqueBlack:
|
||||
return vk::BorderColor::eFloatOpaqueBlack;
|
||||
case AmdGpu::BorderColor::TransparentBlack:
|
||||
return vk::BorderColor::eFloatTransparentBlack;
|
||||
case AmdGpu::BorderColor::OpaqueBlack:
|
||||
return vk::BorderColor::eFloatOpaqueBlack;
|
||||
case AmdGpu::BorderColor::White:
|
||||
return vk::BorderColor::eFloatOpaqueWhite;
|
||||
case AmdGpu::BorderColor::Custom:
|
||||
|
Loading…
Reference in New Issue
Block a user