From 66012fb1bbdb87bffb4ea1e062c3399d5d4ba29e Mon Sep 17 00:00:00 2001 From: Andrew Woloszyn Date: Wed, 13 Jan 2016 09:35:07 -0500 Subject: [PATCH] Fixed incorrect constants in opquantize.spec_const.* tests. --- .../vulkan/spirv_assembly/vktSpvAsmInstructionTests.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/external/vulkancts/modules/vulkan/spirv_assembly/vktSpvAsmInstructionTests.cpp b/external/vulkancts/modules/vulkan/spirv_assembly/vktSpvAsmInstructionTests.cpp index 2ae83ceea..31b206276 100644 --- a/external/vulkancts/modules/vulkan/spirv_assembly/vktSpvAsmInstructionTests.cpp +++ b/external/vulkancts/modules/vulkan/spirv_assembly/vktSpvAsmInstructionTests.cpp @@ -6940,21 +6940,21 @@ void createOpQuantizeTwoPossibilityTests(tcu::TestCaseGroup* testCtx) { "negative_round_up_or_round_down", "-0x1.6008p-7", - -constructNormalizedFloat(8, 0x600800), + -constructNormalizedFloat(-7, 0x600800), "-0x1.6p-7", "-0x1.604p-7" }, { "carry_bit", "0x1.01ep2", - constructNormalizedFloat(8, 0x01e000), + constructNormalizedFloat(2, 0x01e000), "0x1.01cp2", "0x1.02p2" }, { "carry_to_exponent", - "0x1.feep1", - constructNormalizedFloat(8, 0xfee000), + "0x1.ffep1", + constructNormalizedFloat(1, 0xffe000), "0x1.ffcp1", "0x1.0p2" }, -- 2.34.1