Rob Clark <robdcl...@gmail.com> writes: > Karol hit the same thing (with for example, shift instructions) with > the work for spv compute/kernel support. I *think* the number of > special cases isn't too high, so probably vtn should just insert the > appropriate conversion instruction (ie. u2u32, etc) so that if the src > bitsize is incorrect it will be converted.
For what it’s worth, I also added a conversion instruction like this for the Refract GLSL extension opcode because its eta argument can have a different size: https://github.com/Igalia/mesa/commit/608d70bc02a968ee2b21a5db0f54 Regards, - Neil
signature.asc
Description: PGP signature
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev