Fix ClearOpsBufferStorageTestCase on ppc64le
The check for the modified ClearOpsBufferStorageTestCase output currently checks
if the value present in the mapped buffer from GL is equivalent to the
calculated value under the following scheme:
(data_rgba8 & (0xFF << (n_current_byte * 8))) >> (n_current_byte * 8)
The C++ Working Draft Standard N4140 [1] Section 5.8
states the following:
The behavior is undefined if the right operand is negative or greater than
or equal to the length in bits of the promoted left operand.
Similar language is also stated in the C Working Draft Standard N1256 [2]
If the value of the right operand is negative or is greater than or equal to
the width of the promoted left operand, the behavior is undefined.
This change removes the undefined behavior that is being used to set
`expected_value`.
Additionally this change makes the literal 0xFF into 0xFFu since all of the
other components surrounding it are unsigned.
References:
[1] https://timsong-cpp.github.io/cppwp/n4140/draft.pdf
[2] http://www.open-std.org/jtc1/sc22/WG14/www/docs/n1256.pdf
Components: OpenGL
VK-GL-CTS issue: 955
Change-Id: I8f1a25b184379c966355e6d0dec81b1416049279
Reviewed-By: pdaniell