mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-04-07 01:42:04 +00:00
[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:
parent
6e004e9baa
commit
09bd49814e
1 changed files with 2 additions and 2 deletions
|
@ -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 },
|
||||
|
|
Loading…
Reference in a new issue