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:
parent
c9ce09e098
commit
941db96f79
@ -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;
|
||||
|
||||
|
@ -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
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user