Fix EmitImageWrite using wrong active lane mask
Fix EmitImageWrite using wrong active lane mask

EmiteImageWrite() was writing to inactive lanes, which was causing
several tests to fail. state->activeStoresAndAtomicsMask() returns
the proper lane mask.

Bug: b/184063472
Tests: dEQP-VK.glsl.builtin_var.fragdepth.*

Change-Id: I24882cb963ed30052c4774318e1267041c89ee02
Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/54368
Tested-by: Sean Risser <2d04e98eeaa433fb55534399ab3ab2c06fdf7967@google.com>
Commit-Queue: Sean Risser <2d04e98eeaa433fb55534399ab3ab2c06fdf7967@google.com>
Reviewed-by: Alexis Hétu <1c7141772178a7e80858c3db5052b328076f08f4@google.com>
Reviewed-by: Nicolas Capens <51edc787c30f24c4904e8ffbb5523c3a9f7a451d@google.com>

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