Commit 57e05b8b by Chris Forbes

Add support for OpMatrixTimesScalar

For us this works identically to OpVectorTimesScalar. Bug: b/126873455 Test: dEQP-VK.glsl.matrix.mul.* Change-Id: Ied8df4af108249a2f0d888d238db497209d01049 Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/28128Tested-by: 's avatarChris Forbes <chrisforbes@google.com> Presubmit-Ready: Chris Forbes <chrisforbes@google.com> Kokoro-Presubmit: kokoro <noreply+kokoro@google.com> Reviewed-by: 's avatarNicolas Capens <nicolascapens@google.com>
parent 179c9324
......@@ -358,6 +358,7 @@ namespace sw
case spv::OpCompositeExtract:
case spv::OpVectorShuffle:
case spv::OpVectorTimesScalar:
case spv::OpMatrixTimesScalar:
case spv::OpVectorExtractDynamic:
case spv::OpVectorInsertDynamic:
case spv::OpNot: // Unary ops
......@@ -1468,6 +1469,7 @@ namespace sw
return EmitVectorInsertDynamic(insn, state);
case spv::OpVectorTimesScalar:
case spv::OpMatrixTimesScalar:
return EmitVectorTimesScalar(insn, state);
case spv::OpNot:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment