Fix interpolation functions for push constants
Fix interpolation functions for push constants

When using push constants, we end up having dynamic offsets on the
input parameter of the interpolation functions, so we need to be able
to handle this case. Since this is for push constants, we assume that
all dynamic offsets will be the same, for simplicity.

Bug: b/171415086
Change-Id: I5de1720e383c234c9392421d507a66e6d7ba2445
Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/52930
Presubmit-Ready: Alexis Hétu <1c7141772178a7e80858c3db5052b328076f08f4@google.com>
Reviewed-by: Nicolas Capens <51edc787c30f24c4904e8ffbb5523c3a9f7a451d@google.com>
Kokoro-Result: kokoro <2ac7b1f3fa578934c95181d4272be0d3bca00121@google.com>
Tested-by: Alexis Hétu <1c7141772178a7e80858c3db5052b328076f08f4@google.com>
Commit-Queue: Alexis Hétu <1c7141772178a7e80858c3db5052b328076f08f4@google.com>

bkaradzic/SwiftShader,bkaradzic/SwiftShader,bkaradzic/SwiftShader,google/swiftshader,google/swiftshader,google/swiftshader,bkaradzic/SwiftShader,bkaradzic/SwiftShader