[qfcc] Correct spirv right shift types

Spir-v is pretty slack with the exact types of the operants to the
right-shift instructions so no need to care about the type for shift so
long as it has the correct number of components.
This commit is contained in:
Bill Currie 2025-01-10 00:58:26 +09:00
parent 6e004e9baa
commit 09bd49814e

View file

@ -985,8 +985,8 @@ static spvop_t spv_ops[] = {
{"not", SpvOpLogicalNot, SPV_INT, 0 },
{"shl", SpvOpShiftLeftLogical, SPV_INT, SPV_INT },
{"shr", SpvOpShiftRightLogical, SPV_UINT, SPV_UINT },
{"shr", SpvOpShiftRightArithmetic, SPV_SINT, SPV_SINT },
{"shr", SpvOpShiftRightLogical, SPV_UINT, SPV_INT },
{"shr", SpvOpShiftRightArithmetic, SPV_SINT, SPV_INT },
{"dot", SpvOpDot, SPV_FLOAT, SPV_FLOAT },
{"scale", SpvOpVectorTimesScalar, SPV_FLOAT, SPV_FLOAT },