{
result = hash_update<64>(result, b.binding);
result = hash_update<64>(result, reinterpret_cast<uintptr_t>(b.block));
- result = hash_update<64>(result, reinterpret_cast<uintptr_t>(b.buffer));
+ result = hash_update<64>(result, reinterpret_cast<uintptr_t>(b.buffer->handle));
}
for(const PipelineState::BoundTexture &t: self.textures)
if(t.used && (t.binding>>20)==index)
{
result = hash_update<64>(result, t.binding);
- result = hash_update<64>(result, reinterpret_cast<uintptr_t>(t.texture));
- result = hash_update<64>(result, reinterpret_cast<uintptr_t>(t.sampler));
+ result = hash_update<64>(result, reinterpret_cast<uintptr_t>(t.texture->handle));
+ result = hash_update<64>(result, reinterpret_cast<uintptr_t>(t.sampler->handle));
result = hash_update<64>(result, t.level);
}