1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-01-31 14:52:11 +01:00

[dxvk] Remove obsolete DxvkShaderKey constructor

This commit is contained in:
Philip Rebohle 2018-10-25 11:30:02 +02:00
parent c9ce09e098
commit 941db96f79
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99
2 changed files with 0 additions and 20 deletions

View File

@ -7,14 +7,6 @@ namespace dxvk {
m_sha1(Sha1Hash::compute(nullptr, 0)) { }
DxvkShaderKey::DxvkShaderKey(
VkShaderStageFlagBits shaderStage,
const void* sourceCode,
size_t sourceSize)
: m_type(shaderStage),
m_sha1(Sha1Hash::compute(reinterpret_cast<const uint8_t*>(sourceCode), sourceSize)) { }
std::string DxvkShaderKey::toString() const {
const char* prefix = nullptr;

View File

@ -23,18 +23,6 @@ namespace dxvk {
*/
DxvkShaderKey();
/**
* \brief Creates shader key
*
* \param [in] shaderStage Shader stage
* \param [in] sourceCode Shader source
* \param [in] sourceSize Source length
*/
DxvkShaderKey(
VkShaderStageFlagBits shaderStage,
const void* sourceCode,
size_t sourceSize);
/**
* \brief Creates shader key
*