Include the shader key in the push constants
This commit is contained in:
parent
bb4d4f1bc0
commit
cc7dea2093
1 changed files with 1 additions and 1 deletions
|
|
@ -477,7 +477,7 @@ void VkRenderState::ApplyPushConstants()
|
|||
mPushConstants.uLightIndex = mLightIndex >= 0 ? (mLightIndex % MAX_LIGHT_DATA) : -1;
|
||||
mPushConstants.uBoneIndexBase = mBoneIndexBase;
|
||||
mPushConstants.uFogballIndex = mFogballIndex >= 0 ? (mFogballIndex % MAX_FOGBALL_DATA) : -1;
|
||||
|
||||
mPushConstants.shaderKey = mPipelineKey.ShaderKey.AsQWORD;
|
||||
|
||||
if(mUniforms.sz > 0)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue