Commit 98e65bea authored by clayton craft's avatar clayton craft

vulkancts: Add compiler flags for using sse for fp

This resolves some rounding issues in these vk cts tests for m32:

dEQP-VK.glsl.operator.float_compare.equal.highp_vec4_vertex
dEQP-VK.glsl.operator.float_compare.equal.mediump_vec4_vertex
dEQP-VK.glsl.operator.float_compare.greaterThan.highp_vec4_vertex
dEQP-VK.glsl.operator.float_compare.greaterThan.mediump_vec4_vertex
dEQP-VK.glsl.operator.float_compare.greaterThanEqual.highp_vec4_vertex
dEQP-VK.glsl.operator.float_compare.greaterThanEqual.mediump_vec4_vertex
dEQP-VK.glsl.operator.float_compare.lessThan.highp_vec4_verte
dEQP-VK.glsl.operator.float_compare.lessThan.mediump_vec4_vertex
dEQP-VK.glsl.operator.float_compare.lessThanEqual.highp_vec4_vertex
dEQP-VK.glsl.operator.float_compare.lessThanEqual.mediump_vec4_vertex
dEQP-VK.glsl.operator.float_compare.notEqual.highp_vec4_vertex
dEQP-VK.glsl.operator.float_compare.notEqual.mediump_vec4_vertex
parent 31aae40e
......@@ -53,7 +53,9 @@ class VulkanCtsBuilder(object):
# btype = "RelDeb"
flags = "-m64"
if self._options.arch == "m32":
flags = "-m32"
# sse flags are needed to fix FP math rounding issues on some vk
# cts tests
flags = "-m32 -msse2 -mfpmath=sse"
cmd = ["cmake", "-GNinja", "-DCMAKE_BUILD_TYPE=" + btype,
"-DCMAKE_C_COMPILER_LAUNCHER=ccache",
"-DCMAKE_CXX_COMPILER_LAUNCHER=ccache",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment