diff options
author | Alejandro Piñeiro <[email protected]> | 2016-03-04 19:20:27 +0100 |
---|---|---|
committer | Alejandro Piñeiro <[email protected]> | 2016-03-08 08:22:26 +0100 |
commit | 0c5c2e2c936a933d4e78acb36d1f5e56d020043c (patch) | |
tree | 15447a1bf2017f373cb306166c975bf172e5edee /m4 | |
parent | ea9fa5ff056846029435d2969e1de8da33a5b50d (diff) |
i965/vec4: pass the correct src_sz to emit_send at emit_untyped_atomic
If the src is invalid, so src size is zero, the src_sz passed to emit
send should be zero too, instead of a default 1 if we are in a simd4x2
case. This can happens if using emit_untyped_atomic for an atomic
dec/inc.
v2: use the proper src_sz when calling emit_send, instead of just
avoid loading src at emit_send if BAD_FILE (Francisco Jerez)
Reviewed-by: Francisco Jerez <[email protected]>
Diffstat (limited to 'm4')
0 files changed, 0 insertions, 0 deletions