summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/shared.h
diff options
context:
space:
mode:
authorIago Toral Quiroga <[email protected]>2016-01-21 10:46:39 +0100
committerIago Toral Quiroga <[email protected]>2016-01-22 08:14:11 +0100
commitab0c7c0829d2e5ac69ca51a8981f3b1b88bd8d01 (patch)
tree52b8185ddedd7e6f19dc2b40fe2fc3c5dd6668ef /src/mesa/main/shared.h
parent263f829d2e9be6dab5375910a082ff1e511bb44b (diff)
glsl/lower_instructions: fix regression in dldexp_to_arith
The commit b4e198f47f842 changed the offset and bits parameters of the bitfield insert operation from scalars to vectors. However, the lowering of ldexp on doubles operates on each vector component and emits scalar code (since it has to deal with the lower and upper 32-bit chunks of each double component), so it needs its bits and offset parameters to be scalars. Fixes fp64 regression (crash) in: spec/arb_gpu_shader_fp64/execution/built-in-functions/fs-ldexp-dvec4.shader_test Reviewed-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/mesa/main/shared.h')
0 files changed, 0 insertions, 0 deletions