summaryrefslogtreecommitdiff
path: root/source/comp
diff options
context:
space:
mode:
Diffstat (limited to 'source/comp')
-rw-r--r--source/comp/markv_codec.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/comp/markv_codec.cpp b/source/comp/markv_codec.cpp
index c99fdd99..b3f0fffb 100644
--- a/source/comp/markv_codec.cpp
+++ b/source/comp/markv_codec.cpp
@@ -1290,8 +1290,10 @@ uint64_t MarkvCodecBase::GetRuleBasedMtf() {
}
case SpvOpVectorTimesScalar: {
- if (operand_index_ == 0)
+ if (operand_index_ == 0) {
+ // TODO(atgoo@github.com) Could be narrowed to vector of floats.
return GetMtfIdGeneratedByOpcode(SpvOpTypeVector);
+ }
assert(inst_.type_id);
if (operand_index_ == 2)