Bug 103177 - OpAtomicIDecrement should return pre-decrement value
Summary: OpAtomicIDecrement should return pre-decrement value
Status: RESOLVED INVALID
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Vulkan/intel (show other bugs)
Version: git
Hardware: All All
: medium normal
Assignee: Intel 3D Bugs Mailing List
QA Contact: Intel 3D Bugs Mailing List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-09 18:59 UTC by Józef Kucia
Modified: 2017-10-11 22:09 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Józef Kucia 2017-10-09 18:59:22 UTC
OpAtomicIDecrement should return the original value. Anvil seems to return the decremented value.

There was also a similar bug in glslang: https://github.com/KhronosGroup/glslang/issues/1067
Comment 1 Jason Ekstrand 2017-10-09 20:41:44 UTC
Could you please provide some sort of test case?
Comment 2 Józef Kucia 2017-10-11 22:09:53 UTC
OpAtomicIDecrement actually returns the correct value. I had an error in my test case. Sorry for the noise.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.