Compare commits
15 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
e6f78c53af | ||
|
71a62171f8 | ||
|
8930f9a5ec | ||
|
8a934880bd | ||
|
43eb1d78e1 | ||
|
ca97268961 | ||
|
ade5129bf7 | ||
|
4b6bc3b39d | ||
|
1a910c9053 | ||
|
832562a6d2 | ||
|
65e5766a65 | ||
|
99b3c9b7e9 | ||
|
cbcf91c206 | ||
|
78eaebd953 | ||
|
92bf104c8e |
@ -20,13 +20,29 @@ using Microsoft::WRL::ComPtr;
|
||||
|
||||
namespace
|
||||
{
|
||||
#include "Shaders\Compiled\BC7Encode_EncodeBlockCS.inc"
|
||||
#include "Shaders\Compiled\BC7Encode_TryMode02CS.inc"
|
||||
#include "Shaders\Compiled\BC7Encode_TryMode137CS.inc"
|
||||
#include "Shaders\Compiled\BC7Encode_TryMode456CS.inc"
|
||||
#include "Shaders\Compiled\BC6HEncode_EncodeBlockCS.inc"
|
||||
#include "Shaders\Compiled\BC6HEncode_TryModeG10CS.inc"
|
||||
#include "Shaders\Compiled\BC6HEncode_TryModeLE10CS.inc"
|
||||
namespace cs5
|
||||
{
|
||||
#include "Shaders\Compiled\BC7Encode_EncodeBlockCS.inc"
|
||||
#include "Shaders\Compiled\BC7Encode_TryMode02CS.inc"
|
||||
#include "Shaders\Compiled\BC7Encode_TryMode137CS.inc"
|
||||
#include "Shaders\Compiled\BC7Encode_TryMode456CS.inc"
|
||||
#include "Shaders\Compiled\BC6HEncode_EncodeBlockCS.inc"
|
||||
#include "Shaders\Compiled\BC6HEncode_TryModeG10CS.inc"
|
||||
#include "Shaders\Compiled\BC6HEncode_TryModeLE10CS.inc"
|
||||
}
|
||||
|
||||
#if !defined(_XBOX_ONE) || !defined(_TITLE)
|
||||
namespace cs4
|
||||
{
|
||||
#include "Shaders\Compiled\BC7Encode_EncodeBlockCS_cs40.inc"
|
||||
#include "Shaders\Compiled\BC7Encode_TryMode02CS_cs40.inc"
|
||||
#include "Shaders\Compiled\BC7Encode_TryMode137CS_cs40.inc"
|
||||
#include "Shaders\Compiled\BC7Encode_TryMode456CS_cs40.inc"
|
||||
#include "Shaders\Compiled\BC6HEncode_EncodeBlockCS_cs40.inc"
|
||||
#include "Shaders\Compiled\BC6HEncode_TryModeG10CS_cs40.inc"
|
||||
#include "Shaders\Compiled\BC6HEncode_TryModeLE10CS_cs40.inc"
|
||||
}
|
||||
#endif
|
||||
|
||||
struct BufferBC6HBC7
|
||||
{
|
||||
@ -132,39 +148,88 @@ HRESULT GPUCompressBC::Initialize(ID3D11Device* pDevice)
|
||||
//--- Create compute shader library: BC6H -----------------------------------------
|
||||
|
||||
// Modes 11-14
|
||||
HRESULT hr = pDevice->CreateComputeShader(BC6HEncode_TryModeG10CS, sizeof(BC6HEncode_TryModeG10CS), nullptr, m_BC6H_tryModeG10CS.ReleaseAndGetAddressOf());
|
||||
#if defined(_XBOX_ONE) && defined(_TITLE)
|
||||
auto blob = cs5::BC6HEncode_TryModeG10CS;
|
||||
auto blobSize = sizeof(cs5::BC6HEncode_TryModeG10CS);
|
||||
#else
|
||||
auto blob = (fl >= D3D_FEATURE_LEVEL_11_0) ? cs5::BC6HEncode_TryModeG10CS : cs4::BC6HEncode_TryModeG10CS;
|
||||
auto blobSize = (fl >= D3D_FEATURE_LEVEL_11_0) ? sizeof(cs5::BC6HEncode_TryModeG10CS) : sizeof(cs4::BC6HEncode_TryModeG10CS);
|
||||
#endif
|
||||
HRESULT hr = pDevice->CreateComputeShader(blob, blobSize, nullptr, m_BC6H_tryModeG10CS.ReleaseAndGetAddressOf());
|
||||
if (FAILED(hr))
|
||||
return hr;
|
||||
|
||||
// Modes 1-10
|
||||
hr = pDevice->CreateComputeShader(BC6HEncode_TryModeLE10CS, sizeof(BC6HEncode_TryModeLE10CS), nullptr, m_BC6H_tryModeLE10CS.ReleaseAndGetAddressOf());
|
||||
#if defined(_XBOX_ONE) && defined(_TITLE)
|
||||
blob = cs5::BC6HEncode_TryModeLE10CS;
|
||||
blobSize = sizeof(cs5::BC6HEncode_TryModeLE10CS);
|
||||
#else
|
||||
blob = (fl >= D3D_FEATURE_LEVEL_11_0) ? cs5::BC6HEncode_TryModeLE10CS : cs4::BC6HEncode_TryModeLE10CS;
|
||||
blobSize = (fl >= D3D_FEATURE_LEVEL_11_0) ? sizeof(cs5::BC6HEncode_TryModeLE10CS) : sizeof(cs4::BC6HEncode_TryModeLE10CS);
|
||||
#endif
|
||||
hr = pDevice->CreateComputeShader(blob, blobSize, nullptr, m_BC6H_tryModeLE10CS.ReleaseAndGetAddressOf());
|
||||
if (FAILED(hr))
|
||||
return hr;
|
||||
|
||||
// Encode
|
||||
hr = pDevice->CreateComputeShader(BC6HEncode_EncodeBlockCS, sizeof(BC6HEncode_EncodeBlockCS), nullptr, m_BC6H_encodeBlockCS.ReleaseAndGetAddressOf());
|
||||
#if defined(_XBOX_ONE) && defined(_TITLE)
|
||||
blob = cs5::BC6HEncode_EncodeBlockCS;
|
||||
blobSize = sizeof(cs5::BC6HEncode_EncodeBlockCS);
|
||||
#else
|
||||
blob = (fl >= D3D_FEATURE_LEVEL_11_0) ? cs5::BC6HEncode_EncodeBlockCS : cs4::BC6HEncode_EncodeBlockCS;
|
||||
blobSize = (fl >= D3D_FEATURE_LEVEL_11_0) ? sizeof(cs5::BC6HEncode_EncodeBlockCS) : sizeof(cs4::BC6HEncode_EncodeBlockCS);
|
||||
#endif
|
||||
hr = pDevice->CreateComputeShader(blob, blobSize, nullptr, m_BC6H_encodeBlockCS.ReleaseAndGetAddressOf());
|
||||
if (FAILED(hr))
|
||||
return hr;
|
||||
|
||||
//--- Create compute shader library: BC7 ------------------------------------------
|
||||
|
||||
// Modes 4, 5, 6
|
||||
hr = pDevice->CreateComputeShader(BC7Encode_TryMode456CS, sizeof(BC7Encode_TryMode456CS), nullptr, m_BC7_tryMode456CS.ReleaseAndGetAddressOf());
|
||||
#if defined(_XBOX_ONE) && defined(_TITLE)
|
||||
blob = cs5::BC7Encode_TryMode456CS;
|
||||
blobSize = sizeof(cs5::BC7Encode_TryMode456CS);
|
||||
#else
|
||||
blob = (fl >= D3D_FEATURE_LEVEL_11_0) ? cs5::BC7Encode_TryMode456CS : cs4::BC7Encode_TryMode456CS;
|
||||
blobSize = (fl >= D3D_FEATURE_LEVEL_11_0) ? sizeof(cs5::BC7Encode_TryMode456CS) : sizeof(cs4::BC7Encode_TryMode456CS);
|
||||
#endif
|
||||
hr = pDevice->CreateComputeShader(blob, blobSize, nullptr, m_BC7_tryMode456CS.ReleaseAndGetAddressOf());
|
||||
if (FAILED(hr))
|
||||
return hr;
|
||||
|
||||
// Modes 1, 3, 7
|
||||
hr = pDevice->CreateComputeShader(BC7Encode_TryMode137CS, sizeof(BC7Encode_TryMode137CS), nullptr, m_BC7_tryMode137CS.ReleaseAndGetAddressOf());
|
||||
#if defined(_XBOX_ONE) && defined(_TITLE)
|
||||
blob = cs5::BC7Encode_TryMode137CS;
|
||||
blobSize = sizeof(cs5::BC7Encode_TryMode137CS);
|
||||
#else
|
||||
blob = (fl >= D3D_FEATURE_LEVEL_11_0) ? cs5::BC7Encode_TryMode137CS : cs4::BC7Encode_TryMode137CS;
|
||||
blobSize = (fl >= D3D_FEATURE_LEVEL_11_0) ? sizeof(cs5::BC7Encode_TryMode137CS) : sizeof(cs4::BC7Encode_TryMode137CS);
|
||||
#endif
|
||||
hr = pDevice->CreateComputeShader(blob, blobSize, nullptr, m_BC7_tryMode137CS.ReleaseAndGetAddressOf());
|
||||
if (FAILED(hr))
|
||||
return hr;
|
||||
|
||||
// Modes 0, 2
|
||||
hr = pDevice->CreateComputeShader(BC7Encode_TryMode02CS, sizeof(BC7Encode_TryMode02CS), nullptr, m_BC7_tryMode02CS.ReleaseAndGetAddressOf());
|
||||
#if defined(_XBOX_ONE) && defined(_TITLE)
|
||||
blob = cs5::BC7Encode_TryMode02CS;
|
||||
blobSize = sizeof(cs5::BC7Encode_TryMode02CS);
|
||||
#else
|
||||
blob = (fl >= D3D_FEATURE_LEVEL_11_0) ? cs5::BC7Encode_TryMode02CS : cs4::BC7Encode_TryMode02CS;
|
||||
blobSize = (fl >= D3D_FEATURE_LEVEL_11_0) ? sizeof(cs5::BC7Encode_TryMode02CS) : sizeof(cs4::BC7Encode_TryMode02CS);
|
||||
#endif
|
||||
hr = pDevice->CreateComputeShader(blob, blobSize, nullptr, m_BC7_tryMode02CS.ReleaseAndGetAddressOf());
|
||||
if (FAILED(hr))
|
||||
return hr;
|
||||
|
||||
// Encode
|
||||
hr = pDevice->CreateComputeShader(BC7Encode_EncodeBlockCS, sizeof(BC7Encode_EncodeBlockCS), nullptr, m_BC7_encodeBlockCS.ReleaseAndGetAddressOf());
|
||||
#if defined(_XBOX_ONE) && defined(_TITLE)
|
||||
blob = cs5::BC7Encode_EncodeBlockCS;
|
||||
blobSize = sizeof(cs5::BC7Encode_EncodeBlockCS);
|
||||
#else
|
||||
blob = (fl >= D3D_FEATURE_LEVEL_11_0) ? cs5::BC7Encode_EncodeBlockCS : cs4::BC7Encode_EncodeBlockCS;
|
||||
blobSize = (fl >= D3D_FEATURE_LEVEL_11_0) ? sizeof(cs5::BC7Encode_EncodeBlockCS) : sizeof(cs4::BC7Encode_EncodeBlockCS);
|
||||
#endif
|
||||
hr = pDevice->CreateComputeShader(blob, blobSize, nullptr, m_BC7_encodeBlockCS.ReleaseAndGetAddressOf());
|
||||
if (FAILED(hr))
|
||||
return hr;
|
||||
|
||||
|
@ -352,18 +352,32 @@
|
||||
<ItemGroup>
|
||||
<None Include="Shaders\Compiled\BC6HEncode_EncodeBlockCS.inc" />
|
||||
<None Include="Shaders\Compiled\BC6HEncode_EncodeBlockCS.pdb" />
|
||||
<None Include="Shaders\Compiled\BC6HEncode_EncodeBlockCS_cs40.inc" />
|
||||
<None Include="Shaders\Compiled\BC6HEncode_EncodeBlockCS_cs40.pdb" />
|
||||
<None Include="Shaders\Compiled\BC6HEncode_TryModeG10CS.inc" />
|
||||
<None Include="Shaders\Compiled\BC6HEncode_TryModeG10CS.pdb" />
|
||||
<None Include="Shaders\Compiled\BC6HEncode_TryModeG10CS_cs40.inc" />
|
||||
<None Include="Shaders\Compiled\BC6HEncode_TryModeG10CS_cs40.pdb" />
|
||||
<None Include="Shaders\Compiled\BC6HEncode_TryModeLE10CS.inc" />
|
||||
<None Include="Shaders\Compiled\BC6HEncode_TryModeLE10CS.pdb" />
|
||||
<None Include="Shaders\Compiled\BC6HEncode_TryModeLE10CS_cs40.inc" />
|
||||
<None Include="Shaders\Compiled\BC6HEncode_TryModeLE10CS_cs40.pdb" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_EncodeBlockCS.inc" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_EncodeBlockCS.pdb" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_EncodeBlockCS_cs40.inc" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_EncodeBlockCS_cs40.pdb" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode02CS.inc" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode02CS.pdb" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode02CS_cs40.inc" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode02CS_cs40.pdb" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode137CS.inc" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode137CS.pdb" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode137CS_cs40.inc" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode137CS_cs40.pdb" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode456CS.inc" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode456CS.pdb" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode456CS_cs40.inc" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode456CS_cs40.pdb" />
|
||||
<None Include="Shaders\CompileShaders.cmd" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
|
@ -159,5 +159,47 @@
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode456CS.pdb">
|
||||
<Filter>Source Files\Shaders\Symbols</Filter>
|
||||
</None>
|
||||
<None Include="Shaders\Compiled\BC6HEncode_EncodeBlockCS_cs40.inc">
|
||||
<Filter>Source Files\Shaders\Compiled</Filter>
|
||||
</None>
|
||||
<None Include="Shaders\Compiled\BC6HEncode_TryModeG10CS_cs40.inc">
|
||||
<Filter>Source Files\Shaders\Compiled</Filter>
|
||||
</None>
|
||||
<None Include="Shaders\Compiled\BC6HEncode_TryModeLE10CS_cs40.inc">
|
||||
<Filter>Source Files\Shaders\Compiled</Filter>
|
||||
</None>
|
||||
<None Include="Shaders\Compiled\BC7Encode_EncodeBlockCS_cs40.inc">
|
||||
<Filter>Source Files\Shaders\Compiled</Filter>
|
||||
</None>
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode02CS_cs40.inc">
|
||||
<Filter>Source Files\Shaders\Compiled</Filter>
|
||||
</None>
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode137CS_cs40.inc">
|
||||
<Filter>Source Files\Shaders\Compiled</Filter>
|
||||
</None>
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode456CS_cs40.inc">
|
||||
<Filter>Source Files\Shaders\Compiled</Filter>
|
||||
</None>
|
||||
<None Include="Shaders\Compiled\BC6HEncode_EncodeBlockCS_cs40.pdb">
|
||||
<Filter>Source Files\Shaders\Symbols</Filter>
|
||||
</None>
|
||||
<None Include="Shaders\Compiled\BC6HEncode_TryModeG10CS_cs40.pdb">
|
||||
<Filter>Source Files\Shaders\Symbols</Filter>
|
||||
</None>
|
||||
<None Include="Shaders\Compiled\BC6HEncode_TryModeLE10CS_cs40.pdb">
|
||||
<Filter>Source Files\Shaders\Symbols</Filter>
|
||||
</None>
|
||||
<None Include="Shaders\Compiled\BC7Encode_EncodeBlockCS_cs40.pdb">
|
||||
<Filter>Source Files\Shaders\Symbols</Filter>
|
||||
</None>
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode02CS_cs40.pdb">
|
||||
<Filter>Source Files\Shaders\Symbols</Filter>
|
||||
</None>
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode137CS_cs40.pdb">
|
||||
<Filter>Source Files\Shaders\Symbols</Filter>
|
||||
</None>
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode456CS_cs40.pdb">
|
||||
<Filter>Source Files\Shaders\Symbols</Filter>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
</Project>
|
@ -355,18 +355,32 @@
|
||||
<ItemGroup>
|
||||
<None Include="Shaders\Compiled\BC6HEncode_EncodeBlockCS.inc" />
|
||||
<None Include="Shaders\Compiled\BC6HEncode_EncodeBlockCS.pdb" />
|
||||
<None Include="Shaders\Compiled\BC6HEncode_EncodeBlockCS_cs40.inc" />
|
||||
<None Include="Shaders\Compiled\BC6HEncode_EncodeBlockCS_cs40.pdb" />
|
||||
<None Include="Shaders\Compiled\BC6HEncode_TryModeG10CS.inc" />
|
||||
<None Include="Shaders\Compiled\BC6HEncode_TryModeG10CS.pdb" />
|
||||
<None Include="Shaders\Compiled\BC6HEncode_TryModeG10CS_cs40.inc" />
|
||||
<None Include="Shaders\Compiled\BC6HEncode_TryModeG10CS_cs40.pdb" />
|
||||
<None Include="Shaders\Compiled\BC6HEncode_TryModeLE10CS.inc" />
|
||||
<None Include="Shaders\Compiled\BC6HEncode_TryModeLE10CS.pdb" />
|
||||
<None Include="Shaders\Compiled\BC6HEncode_TryModeLE10CS_cs40.inc" />
|
||||
<None Include="Shaders\Compiled\BC6HEncode_TryModeLE10CS_cs40.pdb" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_EncodeBlockCS.inc" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_EncodeBlockCS.pdb" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_EncodeBlockCS_cs40.inc" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_EncodeBlockCS_cs40.pdb" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode02CS.inc" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode02CS.pdb" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode02CS_cs40.inc" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode02CS_cs40.pdb" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode137CS.inc" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode137CS.pdb" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode137CS_cs40.inc" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode137CS_cs40.pdb" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode456CS.inc" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode456CS.pdb" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode456CS_cs40.inc" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode456CS_cs40.pdb" />
|
||||
<None Include="Shaders\CompileShaders.cmd" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
|
@ -165,5 +165,47 @@
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode456CS.pdb">
|
||||
<Filter>Source Files\Shaders\Symbols</Filter>
|
||||
</None>
|
||||
<None Include="Shaders\Compiled\BC6HEncode_EncodeBlockCS_cs40.inc">
|
||||
<Filter>Source Files\Shaders\Compiled</Filter>
|
||||
</None>
|
||||
<None Include="Shaders\Compiled\BC6HEncode_TryModeG10CS_cs40.inc">
|
||||
<Filter>Source Files\Shaders\Compiled</Filter>
|
||||
</None>
|
||||
<None Include="Shaders\Compiled\BC6HEncode_TryModeLE10CS_cs40.inc">
|
||||
<Filter>Source Files\Shaders\Compiled</Filter>
|
||||
</None>
|
||||
<None Include="Shaders\Compiled\BC7Encode_EncodeBlockCS_cs40.inc">
|
||||
<Filter>Source Files\Shaders\Compiled</Filter>
|
||||
</None>
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode02CS_cs40.inc">
|
||||
<Filter>Source Files\Shaders\Compiled</Filter>
|
||||
</None>
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode137CS_cs40.inc">
|
||||
<Filter>Source Files\Shaders\Compiled</Filter>
|
||||
</None>
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode456CS_cs40.inc">
|
||||
<Filter>Source Files\Shaders\Compiled</Filter>
|
||||
</None>
|
||||
<None Include="Shaders\Compiled\BC6HEncode_EncodeBlockCS_cs40.pdb">
|
||||
<Filter>Source Files\Shaders\Symbols</Filter>
|
||||
</None>
|
||||
<None Include="Shaders\Compiled\BC6HEncode_TryModeG10CS_cs40.pdb">
|
||||
<Filter>Source Files\Shaders\Symbols</Filter>
|
||||
</None>
|
||||
<None Include="Shaders\Compiled\BC6HEncode_TryModeLE10CS_cs40.pdb">
|
||||
<Filter>Source Files\Shaders\Symbols</Filter>
|
||||
</None>
|
||||
<None Include="Shaders\Compiled\BC7Encode_EncodeBlockCS_cs40.pdb">
|
||||
<Filter>Source Files\Shaders\Symbols</Filter>
|
||||
</None>
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode02CS_cs40.pdb">
|
||||
<Filter>Source Files\Shaders\Symbols</Filter>
|
||||
</None>
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode137CS_cs40.pdb">
|
||||
<Filter>Source Files\Shaders\Symbols</Filter>
|
||||
</None>
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode456CS_cs40.pdb">
|
||||
<Filter>Source Files\Shaders\Symbols</Filter>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
</Project>
|
@ -362,18 +362,32 @@
|
||||
<ItemGroup>
|
||||
<None Include="Shaders\Compiled\BC6HEncode_EncodeBlockCS.inc" />
|
||||
<None Include="Shaders\Compiled\BC6HEncode_EncodeBlockCS.pdb" />
|
||||
<None Include="Shaders\Compiled\BC6HEncode_EncodeBlockCS_cs40.inc" />
|
||||
<None Include="Shaders\Compiled\BC6HEncode_EncodeBlockCS_cs40.pdb" />
|
||||
<None Include="Shaders\Compiled\BC6HEncode_TryModeG10CS.inc" />
|
||||
<None Include="Shaders\Compiled\BC6HEncode_TryModeG10CS.pdb" />
|
||||
<None Include="Shaders\Compiled\BC6HEncode_TryModeG10CS_cs40.inc" />
|
||||
<None Include="Shaders\Compiled\BC6HEncode_TryModeG10CS_cs40.pdb" />
|
||||
<None Include="Shaders\Compiled\BC6HEncode_TryModeLE10CS.inc" />
|
||||
<None Include="Shaders\Compiled\BC6HEncode_TryModeLE10CS.pdb" />
|
||||
<None Include="Shaders\Compiled\BC6HEncode_TryModeLE10CS_cs40.inc" />
|
||||
<None Include="Shaders\Compiled\BC6HEncode_TryModeLE10CS_cs40.pdb" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_EncodeBlockCS.inc" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_EncodeBlockCS.pdb" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_EncodeBlockCS_cs40.inc" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_EncodeBlockCS_cs40.pdb" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode02CS.inc" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode02CS.pdb" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode02CS_cs40.inc" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode02CS_cs40.pdb" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode137CS.inc" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode137CS.pdb" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode137CS_cs40.inc" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode137CS_cs40.pdb" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode456CS.inc" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode456CS.pdb" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode456CS_cs40.inc" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode456CS_cs40.pdb" />
|
||||
<None Include="Shaders\CompileShaders.cmd" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
|
@ -159,5 +159,47 @@
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode456CS.pdb">
|
||||
<Filter>Source Files\Shaders\Symbols</Filter>
|
||||
</None>
|
||||
<None Include="Shaders\Compiled\BC6HEncode_EncodeBlockCS_cs40.inc">
|
||||
<Filter>Source Files\Shaders\Compiled</Filter>
|
||||
</None>
|
||||
<None Include="Shaders\Compiled\BC6HEncode_TryModeG10CS_cs40.inc">
|
||||
<Filter>Source Files\Shaders\Compiled</Filter>
|
||||
</None>
|
||||
<None Include="Shaders\Compiled\BC6HEncode_TryModeLE10CS_cs40.inc">
|
||||
<Filter>Source Files\Shaders\Compiled</Filter>
|
||||
</None>
|
||||
<None Include="Shaders\Compiled\BC7Encode_EncodeBlockCS_cs40.inc">
|
||||
<Filter>Source Files\Shaders\Compiled</Filter>
|
||||
</None>
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode02CS_cs40.inc">
|
||||
<Filter>Source Files\Shaders\Compiled</Filter>
|
||||
</None>
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode137CS_cs40.inc">
|
||||
<Filter>Source Files\Shaders\Compiled</Filter>
|
||||
</None>
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode456CS_cs40.inc">
|
||||
<Filter>Source Files\Shaders\Compiled</Filter>
|
||||
</None>
|
||||
<None Include="Shaders\Compiled\BC6HEncode_EncodeBlockCS_cs40.pdb">
|
||||
<Filter>Source Files\Shaders\Symbols</Filter>
|
||||
</None>
|
||||
<None Include="Shaders\Compiled\BC6HEncode_TryModeG10CS_cs40.pdb">
|
||||
<Filter>Source Files\Shaders\Symbols</Filter>
|
||||
</None>
|
||||
<None Include="Shaders\Compiled\BC6HEncode_TryModeLE10CS_cs40.pdb">
|
||||
<Filter>Source Files\Shaders\Symbols</Filter>
|
||||
</None>
|
||||
<None Include="Shaders\Compiled\BC7Encode_EncodeBlockCS_cs40.pdb">
|
||||
<Filter>Source Files\Shaders\Symbols</Filter>
|
||||
</None>
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode02CS_cs40.pdb">
|
||||
<Filter>Source Files\Shaders\Symbols</Filter>
|
||||
</None>
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode137CS_cs40.pdb">
|
||||
<Filter>Source Files\Shaders\Symbols</Filter>
|
||||
</None>
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode456CS_cs40.pdb">
|
||||
<Filter>Source Files\Shaders\Symbols</Filter>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
</Project>
|
@ -364,18 +364,32 @@
|
||||
<ItemGroup>
|
||||
<None Include="Shaders\Compiled\BC6HEncode_EncodeBlockCS.inc" />
|
||||
<None Include="Shaders\Compiled\BC6HEncode_EncodeBlockCS.pdb" />
|
||||
<None Include="Shaders\Compiled\BC6HEncode_EncodeBlockCS_cs40.inc" />
|
||||
<None Include="Shaders\Compiled\BC6HEncode_EncodeBlockCS_cs40.pdb" />
|
||||
<None Include="Shaders\Compiled\BC6HEncode_TryModeG10CS.inc" />
|
||||
<None Include="Shaders\Compiled\BC6HEncode_TryModeG10CS.pdb" />
|
||||
<None Include="Shaders\Compiled\BC6HEncode_TryModeG10CS_cs40.inc" />
|
||||
<None Include="Shaders\Compiled\BC6HEncode_TryModeG10CS_cs40.pdb" />
|
||||
<None Include="Shaders\Compiled\BC6HEncode_TryModeLE10CS.inc" />
|
||||
<None Include="Shaders\Compiled\BC6HEncode_TryModeLE10CS.pdb" />
|
||||
<None Include="Shaders\Compiled\BC6HEncode_TryModeLE10CS_cs40.inc" />
|
||||
<None Include="Shaders\Compiled\BC6HEncode_TryModeLE10CS_cs40.pdb" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_EncodeBlockCS.inc" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_EncodeBlockCS.pdb" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_EncodeBlockCS_cs40.inc" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_EncodeBlockCS_cs40.pdb" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode02CS.inc" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode02CS.pdb" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode02CS_cs40.inc" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode02CS_cs40.pdb" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode137CS.inc" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode137CS.pdb" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode137CS_cs40.inc" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode137CS_cs40.pdb" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode456CS.inc" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode456CS.pdb" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode456CS_cs40.inc" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode456CS_cs40.pdb" />
|
||||
<None Include="Shaders\CompileShaders.cmd" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
|
@ -165,5 +165,47 @@
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode456CS.pdb">
|
||||
<Filter>Source Files\Shaders\Symbols</Filter>
|
||||
</None>
|
||||
<None Include="Shaders\Compiled\BC6HEncode_EncodeBlockCS_cs40.inc">
|
||||
<Filter>Source Files\Shaders\Compiled</Filter>
|
||||
</None>
|
||||
<None Include="Shaders\Compiled\BC6HEncode_TryModeG10CS_cs40.inc">
|
||||
<Filter>Source Files\Shaders\Compiled</Filter>
|
||||
</None>
|
||||
<None Include="Shaders\Compiled\BC6HEncode_TryModeLE10CS_cs40.inc">
|
||||
<Filter>Source Files\Shaders\Compiled</Filter>
|
||||
</None>
|
||||
<None Include="Shaders\Compiled\BC7Encode_EncodeBlockCS_cs40.inc">
|
||||
<Filter>Source Files\Shaders\Compiled</Filter>
|
||||
</None>
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode02CS_cs40.inc">
|
||||
<Filter>Source Files\Shaders\Compiled</Filter>
|
||||
</None>
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode137CS_cs40.inc">
|
||||
<Filter>Source Files\Shaders\Compiled</Filter>
|
||||
</None>
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode456CS_cs40.inc">
|
||||
<Filter>Source Files\Shaders\Compiled</Filter>
|
||||
</None>
|
||||
<None Include="Shaders\Compiled\BC6HEncode_EncodeBlockCS_cs40.pdb">
|
||||
<Filter>Source Files\Shaders\Symbols</Filter>
|
||||
</None>
|
||||
<None Include="Shaders\Compiled\BC6HEncode_TryModeG10CS_cs40.pdb">
|
||||
<Filter>Source Files\Shaders\Symbols</Filter>
|
||||
</None>
|
||||
<None Include="Shaders\Compiled\BC6HEncode_TryModeLE10CS_cs40.pdb">
|
||||
<Filter>Source Files\Shaders\Symbols</Filter>
|
||||
</None>
|
||||
<None Include="Shaders\Compiled\BC7Encode_EncodeBlockCS_cs40.pdb">
|
||||
<Filter>Source Files\Shaders\Symbols</Filter>
|
||||
</None>
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode02CS_cs40.pdb">
|
||||
<Filter>Source Files\Shaders\Symbols</Filter>
|
||||
</None>
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode137CS_cs40.pdb">
|
||||
<Filter>Source Files\Shaders\Symbols</Filter>
|
||||
</None>
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode456CS_cs40.pdb">
|
||||
<Filter>Source Files\Shaders\Symbols</Filter>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
</Project>
|
@ -80,18 +80,32 @@
|
||||
<None Include="DirectXTex.inl" />
|
||||
<None Include="Shaders\Compiled\BC6HEncode_EncodeBlockCS.inc" />
|
||||
<None Include="Shaders\Compiled\BC6HEncode_EncodeBlockCS.pdb" />
|
||||
<None Include="Shaders\Compiled\BC6HEncode_EncodeBlockCS_cs40.inc" />
|
||||
<None Include="Shaders\Compiled\BC6HEncode_EncodeBlockCS_cs40.pdb" />
|
||||
<None Include="Shaders\Compiled\BC6HEncode_TryModeG10CS.inc" />
|
||||
<None Include="Shaders\Compiled\BC6HEncode_TryModeG10CS.pdb" />
|
||||
<None Include="Shaders\Compiled\BC6HEncode_TryModeG10CS_cs40.inc" />
|
||||
<None Include="Shaders\Compiled\BC6HEncode_TryModeG10CS_cs40.pdb" />
|
||||
<None Include="Shaders\Compiled\BC6HEncode_TryModeLE10CS.inc" />
|
||||
<None Include="Shaders\Compiled\BC6HEncode_TryModeLE10CS.pdb" />
|
||||
<None Include="Shaders\Compiled\BC6HEncode_TryModeLE10CS_cs40.inc" />
|
||||
<None Include="Shaders\Compiled\BC6HEncode_TryModeLE10CS_cs40.pdb" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_EncodeBlockCS.inc" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_EncodeBlockCS.pdb" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_EncodeBlockCS_cs40.inc" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_EncodeBlockCS_cs40.pdb" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode02CS.inc" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode02CS.pdb" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode02CS_cs40.inc" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode02CS_cs40.pdb" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode137CS.inc" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode137CS.pdb" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode137CS_cs40.inc" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode137CS_cs40.pdb" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode456CS.inc" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode456CS.pdb" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode456CS_cs40.inc" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode456CS_cs40.pdb" />
|
||||
<None Include="Shaders\CompileShaders.cmd" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
|
@ -180,5 +180,47 @@
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode456CS.pdb">
|
||||
<Filter>Source Files\Shaders\Symbols</Filter>
|
||||
</None>
|
||||
<None Include="Shaders\Compiled\BC6HEncode_EncodeBlockCS_cs40.inc">
|
||||
<Filter>Source Files\Shaders\Compiled</Filter>
|
||||
</None>
|
||||
<None Include="Shaders\Compiled\BC6HEncode_TryModeG10CS_cs40.inc">
|
||||
<Filter>Source Files\Shaders\Compiled</Filter>
|
||||
</None>
|
||||
<None Include="Shaders\Compiled\BC6HEncode_TryModeLE10CS_cs40.inc">
|
||||
<Filter>Source Files\Shaders\Compiled</Filter>
|
||||
</None>
|
||||
<None Include="Shaders\Compiled\BC7Encode_EncodeBlockCS_cs40.inc">
|
||||
<Filter>Source Files\Shaders\Compiled</Filter>
|
||||
</None>
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode02CS_cs40.inc">
|
||||
<Filter>Source Files\Shaders\Compiled</Filter>
|
||||
</None>
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode137CS_cs40.inc">
|
||||
<Filter>Source Files\Shaders\Compiled</Filter>
|
||||
</None>
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode456CS_cs40.inc">
|
||||
<Filter>Source Files\Shaders\Compiled</Filter>
|
||||
</None>
|
||||
<None Include="Shaders\Compiled\BC6HEncode_EncodeBlockCS_cs40.pdb">
|
||||
<Filter>Source Files\Shaders\Symbols</Filter>
|
||||
</None>
|
||||
<None Include="Shaders\Compiled\BC6HEncode_TryModeG10CS_cs40.pdb">
|
||||
<Filter>Source Files\Shaders\Symbols</Filter>
|
||||
</None>
|
||||
<None Include="Shaders\Compiled\BC6HEncode_TryModeLE10CS_cs40.pdb">
|
||||
<Filter>Source Files\Shaders\Symbols</Filter>
|
||||
</None>
|
||||
<None Include="Shaders\Compiled\BC7Encode_EncodeBlockCS_cs40.pdb">
|
||||
<Filter>Source Files\Shaders\Symbols</Filter>
|
||||
</None>
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode02CS_cs40.pdb">
|
||||
<Filter>Source Files\Shaders\Symbols</Filter>
|
||||
</None>
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode137CS_cs40.pdb">
|
||||
<Filter>Source Files\Shaders\Symbols</Filter>
|
||||
</None>
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode456CS_cs40.pdb">
|
||||
<Filter>Source Files\Shaders\Symbols</Filter>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
</Project>
|
@ -70,18 +70,32 @@
|
||||
<None Include="DirectXTex.inl" />
|
||||
<None Include="Shaders\Compiled\BC6HEncode_EncodeBlockCS.inc" />
|
||||
<None Include="Shaders\Compiled\BC6HEncode_EncodeBlockCS.pdb" />
|
||||
<None Include="Shaders\Compiled\BC6HEncode_EncodeBlockCS_cs40.inc" />
|
||||
<None Include="Shaders\Compiled\BC6HEncode_EncodeBlockCS_cs40.pdb" />
|
||||
<None Include="Shaders\Compiled\BC6HEncode_TryModeG10CS.inc" />
|
||||
<None Include="Shaders\Compiled\BC6HEncode_TryModeG10CS.pdb" />
|
||||
<None Include="Shaders\Compiled\BC6HEncode_TryModeG10CS_cs40.inc" />
|
||||
<None Include="Shaders\Compiled\BC6HEncode_TryModeG10CS_cs40.pdb" />
|
||||
<None Include="Shaders\Compiled\BC6HEncode_TryModeLE10CS.inc" />
|
||||
<None Include="Shaders\Compiled\BC6HEncode_TryModeLE10CS.pdb" />
|
||||
<None Include="Shaders\Compiled\BC6HEncode_TryModeLE10CS_cs40.inc" />
|
||||
<None Include="Shaders\Compiled\BC6HEncode_TryModeLE10CS_cs40.pdb" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_EncodeBlockCS.inc" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_EncodeBlockCS.pdb" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_EncodeBlockCS_cs40.inc" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_EncodeBlockCS_cs40.pdb" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode02CS.inc" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode02CS.pdb" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode02CS_cs40.inc" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode02CS_cs40.pdb" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode137CS.inc" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode137CS.pdb" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode137CS_cs40.inc" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode137CS_cs40.pdb" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode456CS.inc" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode456CS.pdb" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode456CS_cs40.inc" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode456CS_cs40.pdb" />
|
||||
<None Include="Shaders\CompileShaders.cmd" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
|
@ -180,5 +180,47 @@
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode456CS.pdb">
|
||||
<Filter>Source Files\Shaders\Symbols</Filter>
|
||||
</None>
|
||||
<None Include="Shaders\Compiled\BC6HEncode_EncodeBlockCS_cs40.inc">
|
||||
<Filter>Source Files\Shaders\Compiled</Filter>
|
||||
</None>
|
||||
<None Include="Shaders\Compiled\BC6HEncode_TryModeG10CS_cs40.inc">
|
||||
<Filter>Source Files\Shaders\Compiled</Filter>
|
||||
</None>
|
||||
<None Include="Shaders\Compiled\BC6HEncode_TryModeLE10CS_cs40.inc">
|
||||
<Filter>Source Files\Shaders\Compiled</Filter>
|
||||
</None>
|
||||
<None Include="Shaders\Compiled\BC7Encode_EncodeBlockCS_cs40.inc">
|
||||
<Filter>Source Files\Shaders\Compiled</Filter>
|
||||
</None>
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode02CS_cs40.inc">
|
||||
<Filter>Source Files\Shaders\Compiled</Filter>
|
||||
</None>
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode137CS_cs40.inc">
|
||||
<Filter>Source Files\Shaders\Compiled</Filter>
|
||||
</None>
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode456CS_cs40.inc">
|
||||
<Filter>Source Files\Shaders\Compiled</Filter>
|
||||
</None>
|
||||
<None Include="Shaders\Compiled\BC6HEncode_EncodeBlockCS_cs40.pdb">
|
||||
<Filter>Source Files\Shaders\Symbols</Filter>
|
||||
</None>
|
||||
<None Include="Shaders\Compiled\BC6HEncode_TryModeG10CS_cs40.pdb">
|
||||
<Filter>Source Files\Shaders\Symbols</Filter>
|
||||
</None>
|
||||
<None Include="Shaders\Compiled\BC6HEncode_TryModeLE10CS_cs40.pdb">
|
||||
<Filter>Source Files\Shaders\Symbols</Filter>
|
||||
</None>
|
||||
<None Include="Shaders\Compiled\BC7Encode_EncodeBlockCS_cs40.pdb">
|
||||
<Filter>Source Files\Shaders\Symbols</Filter>
|
||||
</None>
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode02CS_cs40.pdb">
|
||||
<Filter>Source Files\Shaders\Symbols</Filter>
|
||||
</None>
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode137CS_cs40.pdb">
|
||||
<Filter>Source Files\Shaders\Symbols</Filter>
|
||||
</None>
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode456CS_cs40.pdb">
|
||||
<Filter>Source Files\Shaders\Symbols</Filter>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
</Project>
|
@ -27,18 +27,32 @@
|
||||
<None Include="DirectXTex.inl" />
|
||||
<None Include="Shaders\Compiled\BC6HEncode_EncodeBlockCS.inc" />
|
||||
<None Include="Shaders\Compiled\BC6HEncode_EncodeBlockCS.pdb" />
|
||||
<None Include="Shaders\Compiled\BC6HEncode_EncodeBlockCS_cs40.inc" />
|
||||
<None Include="Shaders\Compiled\BC6HEncode_EncodeBlockCS_cs40.pdb" />
|
||||
<None Include="Shaders\Compiled\BC6HEncode_TryModeG10CS.inc" />
|
||||
<None Include="Shaders\Compiled\BC6HEncode_TryModeG10CS.pdb" />
|
||||
<None Include="Shaders\Compiled\BC6HEncode_TryModeG10CS_cs40.inc" />
|
||||
<None Include="Shaders\Compiled\BC6HEncode_TryModeG10CS_cs40.pdb" />
|
||||
<None Include="Shaders\Compiled\BC6HEncode_TryModeLE10CS.inc" />
|
||||
<None Include="Shaders\Compiled\BC6HEncode_TryModeLE10CS.pdb" />
|
||||
<None Include="Shaders\Compiled\BC6HEncode_TryModeLE10CS_cs40.inc" />
|
||||
<None Include="Shaders\Compiled\BC6HEncode_TryModeLE10CS_cs40.pdb" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_EncodeBlockCS.inc" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_EncodeBlockCS.pdb" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_EncodeBlockCS_cs40.inc" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_EncodeBlockCS_cs40.pdb" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode02CS.inc" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode02CS.pdb" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode02CS_cs40.inc" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode02CS_cs40.pdb" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode137CS.inc" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode137CS.pdb" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode137CS_cs40.inc" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode137CS_cs40.pdb" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode456CS.inc" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode456CS.pdb" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode456CS_cs40.inc" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode456CS_cs40.pdb" />
|
||||
<None Include="Shaders\CompileShaders.cmd" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
@ -229,8 +243,6 @@
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
<Target Name="ATGEnsureShaders" BeforeTargets="PrepareForBuild">
|
||||
<Exec Condition="!Exists('Shaders/Compiled/BC6HEncode_EncodeBlockCS.inc')"
|
||||
WorkingDirectory="$(ProjectDir)Shaders"
|
||||
Command="CompileShaders" />
|
||||
<Exec Condition="!Exists('Shaders/Compiled/BC6HEncode_EncodeBlockCS.inc')" WorkingDirectory="$(ProjectDir)Shaders" Command="CompileShaders" />
|
||||
</Target>
|
||||
</Project>
|
@ -97,6 +97,48 @@
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode456CS.pdb">
|
||||
<Filter>Source Files\Shaders\Symbols</Filter>
|
||||
</None>
|
||||
<None Include="Shaders\Compiled\BC6HEncode_EncodeBlockCS_cs40.inc">
|
||||
<Filter>Source Files\Shaders\Compiled</Filter>
|
||||
</None>
|
||||
<None Include="Shaders\Compiled\BC6HEncode_TryModeG10CS_cs40.inc">
|
||||
<Filter>Source Files\Shaders\Compiled</Filter>
|
||||
</None>
|
||||
<None Include="Shaders\Compiled\BC6HEncode_TryModeLE10CS_cs40.inc">
|
||||
<Filter>Source Files\Shaders\Compiled</Filter>
|
||||
</None>
|
||||
<None Include="Shaders\Compiled\BC7Encode_EncodeBlockCS_cs40.inc">
|
||||
<Filter>Source Files\Shaders\Compiled</Filter>
|
||||
</None>
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode02CS_cs40.inc">
|
||||
<Filter>Source Files\Shaders\Compiled</Filter>
|
||||
</None>
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode137CS_cs40.inc">
|
||||
<Filter>Source Files\Shaders\Compiled</Filter>
|
||||
</None>
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode456CS_cs40.inc">
|
||||
<Filter>Source Files\Shaders\Compiled</Filter>
|
||||
</None>
|
||||
<None Include="Shaders\Compiled\BC6HEncode_EncodeBlockCS_cs40.pdb">
|
||||
<Filter>Source Files\Shaders\Symbols</Filter>
|
||||
</None>
|
||||
<None Include="Shaders\Compiled\BC6HEncode_TryModeG10CS_cs40.pdb">
|
||||
<Filter>Source Files\Shaders\Symbols</Filter>
|
||||
</None>
|
||||
<None Include="Shaders\Compiled\BC6HEncode_TryModeLE10CS_cs40.pdb">
|
||||
<Filter>Source Files\Shaders\Symbols</Filter>
|
||||
</None>
|
||||
<None Include="Shaders\Compiled\BC7Encode_EncodeBlockCS_cs40.pdb">
|
||||
<Filter>Source Files\Shaders\Symbols</Filter>
|
||||
</None>
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode02CS_cs40.pdb">
|
||||
<Filter>Source Files\Shaders\Symbols</Filter>
|
||||
</None>
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode137CS_cs40.pdb">
|
||||
<Filter>Source Files\Shaders\Symbols</Filter>
|
||||
</None>
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode456CS_cs40.pdb">
|
||||
<Filter>Source Files\Shaders\Symbols</Filter>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="BC.cpp">
|
||||
|
@ -27,18 +27,32 @@
|
||||
<None Include="DirectXTex.inl" />
|
||||
<None Include="Shaders\Compiled\BC6HEncode_EncodeBlockCS.inc" />
|
||||
<None Include="Shaders\Compiled\BC6HEncode_EncodeBlockCS.pdb" />
|
||||
<None Include="Shaders\Compiled\BC6HEncode_EncodeBlockCS_cs40.inc" />
|
||||
<None Include="Shaders\Compiled\BC6HEncode_EncodeBlockCS_cs40.pdb" />
|
||||
<None Include="Shaders\Compiled\BC6HEncode_TryModeG10CS.inc" />
|
||||
<None Include="Shaders\Compiled\BC6HEncode_TryModeG10CS.pdb" />
|
||||
<None Include="Shaders\Compiled\BC6HEncode_TryModeG10CS_cs40.inc" />
|
||||
<None Include="Shaders\Compiled\BC6HEncode_TryModeG10CS_cs40.pdb" />
|
||||
<None Include="Shaders\Compiled\BC6HEncode_TryModeLE10CS.inc" />
|
||||
<None Include="Shaders\Compiled\BC6HEncode_TryModeLE10CS.pdb" />
|
||||
<None Include="Shaders\Compiled\BC6HEncode_TryModeLE10CS_cs40.inc" />
|
||||
<None Include="Shaders\Compiled\BC6HEncode_TryModeLE10CS_cs40.pdb" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_EncodeBlockCS.inc" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_EncodeBlockCS.pdb" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_EncodeBlockCS_cs40.inc" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_EncodeBlockCS_cs40.pdb" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode02CS.inc" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode02CS.pdb" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode02CS_cs40.inc" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode02CS_cs40.pdb" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode137CS.inc" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode137CS.pdb" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode137CS_cs40.inc" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode137CS_cs40.pdb" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode456CS.inc" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode456CS.pdb" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode456CS_cs40.inc" />
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode456CS_cs40.pdb" />
|
||||
<None Include="Shaders\CompileShaders.cmd" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
|
@ -97,6 +97,48 @@
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode456CS.pdb">
|
||||
<Filter>Source Files\Shaders\Symbols</Filter>
|
||||
</None>
|
||||
<None Include="Shaders\Compiled\BC6HEncode_EncodeBlockCS_cs40.inc">
|
||||
<Filter>Source Files\Shaders\Compiled</Filter>
|
||||
</None>
|
||||
<None Include="Shaders\Compiled\BC6HEncode_TryModeG10CS_cs40.inc">
|
||||
<Filter>Source Files\Shaders\Compiled</Filter>
|
||||
</None>
|
||||
<None Include="Shaders\Compiled\BC6HEncode_TryModeLE10CS_cs40.inc">
|
||||
<Filter>Source Files\Shaders\Compiled</Filter>
|
||||
</None>
|
||||
<None Include="Shaders\Compiled\BC7Encode_EncodeBlockCS_cs40.inc">
|
||||
<Filter>Source Files\Shaders\Compiled</Filter>
|
||||
</None>
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode02CS_cs40.inc">
|
||||
<Filter>Source Files\Shaders\Compiled</Filter>
|
||||
</None>
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode137CS_cs40.inc">
|
||||
<Filter>Source Files\Shaders\Compiled</Filter>
|
||||
</None>
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode456CS_cs40.inc">
|
||||
<Filter>Source Files\Shaders\Compiled</Filter>
|
||||
</None>
|
||||
<None Include="Shaders\Compiled\BC6HEncode_EncodeBlockCS_cs40.pdb">
|
||||
<Filter>Source Files\Shaders\Symbols</Filter>
|
||||
</None>
|
||||
<None Include="Shaders\Compiled\BC6HEncode_TryModeG10CS_cs40.pdb">
|
||||
<Filter>Source Files\Shaders\Symbols</Filter>
|
||||
</None>
|
||||
<None Include="Shaders\Compiled\BC6HEncode_TryModeLE10CS_cs40.pdb">
|
||||
<Filter>Source Files\Shaders\Symbols</Filter>
|
||||
</None>
|
||||
<None Include="Shaders\Compiled\BC7Encode_EncodeBlockCS_cs40.pdb">
|
||||
<Filter>Source Files\Shaders\Symbols</Filter>
|
||||
</None>
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode02CS_cs40.pdb">
|
||||
<Filter>Source Files\Shaders\Symbols</Filter>
|
||||
</None>
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode137CS_cs40.pdb">
|
||||
<Filter>Source Files\Shaders\Symbols</Filter>
|
||||
</None>
|
||||
<None Include="Shaders\Compiled\BC7Encode_TryMode456CS_cs40.pdb">
|
||||
<Filter>Source Files\Shaders\Symbols</Filter>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="BC.cpp">
|
||||
|
@ -979,14 +979,15 @@ void EncodeBlockCS(uint GI : SV_GroupIndex, uint3 groupID : SV_GroupID)
|
||||
}
|
||||
}
|
||||
|
||||
uint float2half1( float f )
|
||||
#ifdef EMULATE_F16C
|
||||
uint float2half1(float f)
|
||||
{
|
||||
uint Result;
|
||||
|
||||
uint IValue = asuint(f);
|
||||
uint Sign = (IValue & 0x80000000U) >> 16U;
|
||||
IValue = IValue & 0x7FFFFFFFU;
|
||||
|
||||
|
||||
if (IValue > 0x47FFEFFFU)
|
||||
{
|
||||
// The number is too large to be represented as a half. Saturate to infinity.
|
||||
@ -1007,27 +1008,19 @@ uint float2half1( float f )
|
||||
IValue += 0xC8000000U;
|
||||
}
|
||||
|
||||
Result = ((IValue + 0x0FFFU + ((IValue >> 13U) & 1U)) >> 13U)&0x7FFFU;
|
||||
Result = ((IValue + 0x0FFFU + ((IValue >> 13U) & 1U)) >> 13U) & 0x7FFFU;
|
||||
}
|
||||
return (Result|Sign);
|
||||
return (Result | Sign);
|
||||
}
|
||||
#endif
|
||||
|
||||
uint3 float2half( float3 endPoint_f )
|
||||
{
|
||||
//uint3 sign = asuint(endPoint_f) & 0x80000000;
|
||||
//uint3 expo = asuint(endPoint_f) & 0x7F800000;
|
||||
//uint3 base = asuint(endPoint_f) & 0x007FFFFF;
|
||||
//return ( expo < 0x33800000 ) ? 0
|
||||
// //0x33800000 indicating 2^-24, which is minimal denormalized number that half can present
|
||||
// : ( ( expo < 0x38800000 ) ? ( sign >> 16 ) | ( ( base + 0x00800000 ) >> ( 23 - ( ( expo - 0x33800000 ) >> 23 ) ) )//fixed a bug in v0.2
|
||||
// //0x38800000 indicating 2^-14, which is minimal normalized number that half can present, so need to use denormalized half presentation
|
||||
// : ( ( expo == 0x7F800000 || expo > 0x47000000 ) ? ( ( sign >> 16 ) | 0x7bff )
|
||||
// // treat NaN as INF, treat INF (including NaN) as the maximum/minimum number that half can present
|
||||
// // 0x47000000 indicating 2^15, which is maximum exponent that half can present, so cut to 0x7bff which is the maximum half number
|
||||
// : ( ( sign >> 16 ) | ( ( ( expo - 0x38000000 ) | base ) >> 13 ) ) ) );
|
||||
|
||||
|
||||
return uint3( float2half1( endPoint_f.x ), float2half1( endPoint_f.y ), float2half1( endPoint_f.z ) );
|
||||
#ifdef EMULATE_F16C
|
||||
return uint3(float2half1(endPoint_f.x), float2half1(endPoint_f.y), float2half1(endPoint_f.z));
|
||||
#else
|
||||
return uint3(f32tof16(endPoint_f.x), f32tof16(endPoint_f.y), f32tof16(endPoint_f.z));
|
||||
#endif
|
||||
}
|
||||
int3 start_quantize( uint3 pixel_h )
|
||||
{
|
||||
@ -1204,7 +1197,8 @@ void generate_palette_unquantized16( out uint3 palette, int3 low, int3 high, int
|
||||
palette = finish_unquantize( tmp );
|
||||
}
|
||||
|
||||
float half2float1( uint Value )
|
||||
#ifdef EMULATE_F16C
|
||||
float half2float1(uint Value)
|
||||
{
|
||||
uint Mantissa = (uint)(Value & 0x03FF);
|
||||
|
||||
@ -1232,21 +1226,20 @@ float half2float1( uint Value )
|
||||
}
|
||||
|
||||
uint Result = ((Value & 0x8000) << 16) | // Sign
|
||||
((Exponent + 112) << 23) | // Exponent
|
||||
(Mantissa << 13); // Mantissa
|
||||
((Exponent + 112) << 23) | // Exponent
|
||||
(Mantissa << 13); // Mantissa
|
||||
|
||||
return asfloat(Result);
|
||||
}
|
||||
#endif
|
||||
|
||||
float3 half2float(uint3 color_h )
|
||||
{
|
||||
//uint3 sign = color_h & 0x8000;
|
||||
//uint3 expo = color_h & 0x7C00;
|
||||
//uint3 base = color_h & 0x03FF;
|
||||
//return ( expo == 0 ) ? asfloat( ( sign << 16 ) | asuint( float3(base) / 16777216 ) ) //16777216 = 2^24
|
||||
// : asfloat( ( sign << 16 ) | ( ( ( expo + 0x1C000 ) | base ) << 13 ) ); //0x1C000 = 0x1FC00 - 0x3C00
|
||||
|
||||
return float3( half2float1( color_h.x ), half2float1( color_h.y ), half2float1( color_h.z ) );
|
||||
#ifdef EMULATE_F16C
|
||||
return float3(half2float1(color_h.x), half2float1(color_h.y), half2float1(color_h.z));
|
||||
#else
|
||||
return float3(f16tof32(color_h.x), f16tof32(color_h.y), f16tof32(color_h.z));
|
||||
#endif
|
||||
}
|
||||
|
||||
void block_package( inout uint4 block, int2x3 endPoint[2], uint mode_type, uint partition_index ) // for mode 1 - 10
|
||||
|
@ -26,7 +26,6 @@ call :CompileShader BC7Encode EncodeBlockCS
|
||||
call :CompileShader BC6HEncode TryModeG10CS
|
||||
call :CompileShader BC6HEncode TryModeLE10CS
|
||||
call :CompileShader BC6HEncode EncodeBlockCS
|
||||
|
||||
echo.
|
||||
|
||||
if %error% == 0 (
|
||||
@ -39,8 +38,10 @@ endlocal
|
||||
exit /b
|
||||
|
||||
:CompileShader
|
||||
set fxc=%PCFXC% %1.hlsl %FXCOPTS% /Tcs_4_0 /E%2 /FhCompiled\%1_%2.inc /FdCompiled\%1_%2.pdb /Vn%1_%2
|
||||
set fxc=%PCFXC% %1.hlsl %FXCOPTS% /Tcs_5_0 /E%2 /FhCompiled\%1_%2.inc /FdCompiled\%1_%2.pdb /Vn%1_%2
|
||||
set fxc4=%PCFXC% %1.hlsl %FXCOPTS% /Tcs_4_0 /DEMULATE_F16C /E%2 /FhCompiled\%1_%2_cs40.inc /FdCompiled\%1_%2_cs40.pdb /Vn%1_%2
|
||||
echo.
|
||||
echo %fxc%
|
||||
%fxc% || set error=1
|
||||
%fxc4% || set error=1
|
||||
exit /b
|
||||
|
File diff suppressed because it is too large
Load Diff
Binary file not shown.
22226
DirectXTex/Shaders/Compiled/BC6HEncode_EncodeBlockCS_cs40.inc
Normal file
22226
DirectXTex/Shaders/Compiled/BC6HEncode_EncodeBlockCS_cs40.inc
Normal file
File diff suppressed because it is too large
Load Diff
BIN
DirectXTex/Shaders/Compiled/BC6HEncode_EncodeBlockCS_cs40.pdb
Normal file
BIN
DirectXTex/Shaders/Compiled/BC6HEncode_EncodeBlockCS_cs40.pdb
Normal file
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
3366
DirectXTex/Shaders/Compiled/BC6HEncode_TryModeG10CS_cs40.inc
Normal file
3366
DirectXTex/Shaders/Compiled/BC6HEncode_TryModeG10CS_cs40.inc
Normal file
File diff suppressed because it is too large
Load Diff
BIN
DirectXTex/Shaders/Compiled/BC6HEncode_TryModeG10CS_cs40.pdb
Normal file
BIN
DirectXTex/Shaders/Compiled/BC6HEncode_TryModeG10CS_cs40.pdb
Normal file
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
5061
DirectXTex/Shaders/Compiled/BC6HEncode_TryModeLE10CS_cs40.inc
Normal file
5061
DirectXTex/Shaders/Compiled/BC6HEncode_TryModeLE10CS_cs40.inc
Normal file
File diff suppressed because it is too large
Load Diff
BIN
DirectXTex/Shaders/Compiled/BC6HEncode_TryModeLE10CS_cs40.pdb
Normal file
BIN
DirectXTex/Shaders/Compiled/BC6HEncode_TryModeLE10CS_cs40.pdb
Normal file
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
10164
DirectXTex/Shaders/Compiled/BC7Encode_EncodeBlockCS_cs40.inc
Normal file
10164
DirectXTex/Shaders/Compiled/BC7Encode_EncodeBlockCS_cs40.inc
Normal file
File diff suppressed because it is too large
Load Diff
BIN
DirectXTex/Shaders/Compiled/BC7Encode_EncodeBlockCS_cs40.pdb
Normal file
BIN
DirectXTex/Shaders/Compiled/BC7Encode_EncodeBlockCS_cs40.pdb
Normal file
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
4084
DirectXTex/Shaders/Compiled/BC7Encode_TryMode02CS_cs40.inc
Normal file
4084
DirectXTex/Shaders/Compiled/BC7Encode_TryMode02CS_cs40.inc
Normal file
File diff suppressed because it is too large
Load Diff
BIN
DirectXTex/Shaders/Compiled/BC7Encode_TryMode02CS_cs40.pdb
Normal file
BIN
DirectXTex/Shaders/Compiled/BC7Encode_TryMode02CS_cs40.pdb
Normal file
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
4104
DirectXTex/Shaders/Compiled/BC7Encode_TryMode137CS_cs40.inc
Normal file
4104
DirectXTex/Shaders/Compiled/BC7Encode_TryMode137CS_cs40.inc
Normal file
File diff suppressed because it is too large
Load Diff
BIN
DirectXTex/Shaders/Compiled/BC7Encode_TryMode137CS_cs40.pdb
Normal file
BIN
DirectXTex/Shaders/Compiled/BC7Encode_TryMode137CS_cs40.pdb
Normal file
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
3025
DirectXTex/Shaders/Compiled/BC7Encode_TryMode456CS_cs40.inc
Normal file
3025
DirectXTex/Shaders/Compiled/BC7Encode_TryMode456CS_cs40.inc
Normal file
File diff suppressed because it is too large
Load Diff
BIN
DirectXTex/Shaders/Compiled/BC7Encode_TryMode456CS_cs40.pdb
Normal file
BIN
DirectXTex/Shaders/Compiled/BC7Encode_TryMode456CS_cs40.pdb
Normal file
Binary file not shown.
@ -426,6 +426,14 @@ const SValue g_pFeatureLevels[] = // valid feature levels for -fl for maximimu
|
||||
{ nullptr, 0 },
|
||||
};
|
||||
|
||||
const SValue g_pDirectCompute[] =
|
||||
{
|
||||
{ L"4.0", D3D_FEATURE_LEVEL_10_0 },
|
||||
{ L"4.1", D3D_FEATURE_LEVEL_10_1 },
|
||||
{ L"5.0", D3D_FEATURE_LEVEL_11_0 },
|
||||
{ nullptr, 0 }
|
||||
};
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
@ -878,7 +886,7 @@ namespace
|
||||
hr = pAdapter->GetDesc(&desc);
|
||||
if (SUCCEEDED(hr))
|
||||
{
|
||||
wprintf(L"\n[Using DirectCompute on \"%ls\"]\n", desc.Description);
|
||||
wprintf(L"\n[Using DirectCompute %ls on \"%ls\"]\n", LookupByValue(fl, g_pDirectCompute), desc.Description);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user