summaryrefslogtreecommitdiff
path: root/video.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'video.cpp')
-rw-r--r--video.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/video.cpp b/video.cpp
index d7678f3..e5a42dc 100644
--- a/video.cpp
+++ b/video.cpp
@@ -676,10 +676,11 @@ template<>
struct Hash_Function<Pso_Key>
{
size_t operator()(const Pso_Key& k) const {
+ uint64_t rpoh = Hash_Function<Rpo_Key>{}(k.rpo);
return fnv1a64_2(
k.pso.pipeline_hash,
- (uint8_t*)&k.rpo,
- sizeof k.rpo
+ (uint8_t*)&rpoh,
+ sizeof rpoh
);
}
};