mirror of
https://github.com/EduApps-CDG/OpenDX
synced 2024-12-30 09:45:37 +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)) { }
|
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 {
|
std::string DxvkShaderKey::toString() const {
|
||||||
const char* prefix = nullptr;
|
const char* prefix = nullptr;
|
||||||
|
|
||||||
|
@ -23,18 +23,6 @@ namespace dxvk {
|
|||||||
*/
|
*/
|
||||||
DxvkShaderKey();
|
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
|
* \brief Creates shader key
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user