Fixed incorrect constants in opquantize.spec_const.* tests.
authorAndrew Woloszyn <awoloszyn@google.com>
Wed, 13 Jan 2016 14:35:07 +0000 (09:35 -0500)
committerAndrew Woloszyn <awoloszyn@google.com>
Wed, 13 Jan 2016 14:35:07 +0000 (09:35 -0500)
external/vulkancts/modules/vulkan/spirv_assembly/vktSpvAsmInstructionTests.cpp

index 2ae83ceea6492891e902a7065ab08c4a246fbbb0..31b206276887e4e6aebaf9a986afdf059409a701 100644 (file)
@@ -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"
                },