mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-12-14 00:48:44 +01:00
4a0c9dbaba
Fixes incorrect return values in case a game tries to create a texture with an unsupported number of samples.
27 lines
604 B
C++
27 lines
604 B
C++
#pragma once
|
|
|
|
#include "../dxvk/dxvk_device.h"
|
|
|
|
#include "../dxbc/dxbc_util.h"
|
|
|
|
#include "d3d11_include.h"
|
|
|
|
namespace dxvk {
|
|
|
|
HRESULT DecodeSampleCount(
|
|
UINT Count,
|
|
VkSampleCountFlagBits* pCount);
|
|
|
|
VkSamplerAddressMode DecodeAddressMode(
|
|
D3D11_TEXTURE_ADDRESS_MODE mode);
|
|
|
|
VkBorderColor DecodeBorderColor(
|
|
const FLOAT BorderColor[4]);
|
|
|
|
VkCompareOp DecodeCompareOp(
|
|
D3D11_COMPARISON_FUNC Mode);
|
|
|
|
VkMemoryPropertyFlags GetMemoryFlagsForUsage(
|
|
D3D11_USAGE Usage);
|
|
|
|
} |