Commit 87a318f8 authored by Vinson Lee's avatar Vinson Lee
Browse files

ext_transform_feedback-output-type: Fix MSVC build.


Signed-off-by: default avatarVinson Lee <vlee@vmware.com>
parent c9d2690f
......@@ -59,7 +59,7 @@ struct test_desc {
true, /* is_floating_point */
1, /* num_elements, expected_float, expected_int */
{666}, {}
{666}, {0}
},
{
"float[2]", /* name */
......@@ -76,7 +76,7 @@ struct test_desc {
true, /* is_floating_point */
2, /* num_elements, expected_float, expected_int */
{666, 0.123}, {}
{666, 0.123}, {0}
},
{
"vec2", /* name */
......@@ -93,7 +93,7 @@ struct test_desc {
true, /* is_floating_point */
2, /* num_elements, expected_float, expected_int */
{666, 999}, {}
{666, 999}, {0}
},
{
"vec2[2]", /* name */
......@@ -110,7 +110,7 @@ struct test_desc {
true, /* is_floating_point */
4, /* num_elements, expected_float, expected_int */
{666, 999, -1.5, -20.0}, {}
{666, 999, -1.5, -20.0}, {0}
},
{
"vec3", /* name */
......@@ -127,7 +127,7 @@ struct test_desc {
true, /* is_floating_point */
3, /* num_elements, expected_float, expected_int */
{666, 999, -2}, {}
{666, 999, -2}, {0}
},
{
"vec3[2]", /* name */
......@@ -144,7 +144,7 @@ struct test_desc {
true, /* is_floating_point */
6, /* num_elements, expected_float, expected_int */
{666, 999, -2, 0.4, 1.4, 3.5}, {}
{666, 999, -2, 0.4, 1.4, 3.5}, {0}
},
{
"vec4", /* name */
......@@ -161,7 +161,7 @@ struct test_desc {
true, /* is_floating_point */
4, /* num_elements, expected_float, expected_int */
{0.666, 666, 999, -2}, {}
{0.666, 666, 999, -2}, {0}
},
{
"vec4[2]", /* name */
......@@ -178,7 +178,7 @@ struct test_desc {
true, /* is_floating_point */
8, /* num_elements, expected_float, expected_int */
{0.666, 666, 999, -2, 0.5, -0.4, 30.0, 40.0}, {}
{0.666, 666, 999, -2, 0.5, -0.4, 30.0, 40.0}, {0}
},
{
"mat2", /* name */
......@@ -195,7 +195,7 @@ struct test_desc {
true, /* is_floating_point */
4, /* num_elements, expected_float, expected_int */
{0.666, 666, 999, -2}, {}
{0.666, 666, 999, -2}, {0}
},
{
"mat2[2]", /* name */
......@@ -213,7 +213,7 @@ struct test_desc {
true, /* is_floating_point */
8, /* num_elements, expected_float, expected_int */
{0.666, 666, 999, -2, 0.34, 0.65, 0.14, -0.97}, {}
{0.666, 666, 999, -2, 0.34, 0.65, 0.14, -0.97}, {0}
},
{
"mat2x3", /* name */
......@@ -230,7 +230,7 @@ struct test_desc {
true, /* is_floating_point */
6, /* num_elements, expected_float, expected_int */
{0.666, 666, 999, -2, 0.5, -0.4}, {}
{0.666, 666, 999, -2, 0.5, -0.4}, {0}
},
{
"mat2x3[2]", /* name */
......@@ -248,7 +248,7 @@ struct test_desc {
true, /* is_floating_point */
12, /* num_elements, expected_float, expected_int */
{0.666, 666, 999, -2, 0.5, -0.4, 0.34, 0.12, -10.0, 30.1, 5.3, 9.8}, {}
{0.666, 666, 999, -2, 0.5, -0.4, 0.34, 0.12, -10.0, 30.1, 5.3, 9.8}, {0}
},
{
"mat2x4", /* name */
......@@ -265,7 +265,7 @@ struct test_desc {
true, /* is_floating_point */
8, /* num_elements, expected_float, expected_int */
{0.666, 666, 999, -2, 0.5, -0.4, 30, 40}, {}
{0.666, 666, 999, -2, 0.5, -0.4, 30, 40}, {0}
},
{
"mat2x4[2]", /* name */
......@@ -283,7 +283,7 @@ struct test_desc {
true, /* is_floating_point */
16, /* num_elements, expected_float, expected_int */
{0.666, 666, 999, -2, 0.5, -0.4, 30, 40, 0.12, 0.24, 0.34, 0.56, 0.67, 0.78, 0.89, 0.04}, {}
{0.666, 666, 999, -2, 0.5, -0.4, 30, 40, 0.12, 0.24, 0.34, 0.56, 0.67, 0.78, 0.89, 0.04}, {0}
},
{
"mat3x2", /* name */
......@@ -301,7 +301,7 @@ struct test_desc {
true, /* is_floating_point */
6, /* num_elements, expected_float, expected_int */
{0.666, 666.0, 999.0, -2.0, 0.2, 5.0}, {}
{0.666, 666.0, 999.0, -2.0, 0.2, 5.0}, {0}
},
{
"mat3x2[2]", /* name */
......@@ -319,7 +319,7 @@ struct test_desc {
true, /* is_floating_point */
12, /* num_elements, expected_float, expected_int */
{0.666, 666.0, 999.0, -2.0, 0.2, 5.0, 0.98, 0.87, 0.76, 0.65, 0.54, 0.43}, {}
{0.666, 666.0, 999.0, -2.0, 0.2, 5.0, 0.98, 0.87, 0.76, 0.65, 0.54, 0.43}, {0}
},
{
"mat3", /* name */
......@@ -338,7 +338,7 @@ struct test_desc {
true, /* is_floating_point */
9, /* num_elements, expected_float, expected_int */
{0.666, 666.0, 999.0, -2.0, 0.2, 5.0, 3.0, 0.3, -10.0}, {}
{0.666, 666.0, 999.0, -2.0, 0.2, 5.0, 3.0, 0.3, -10.0}, {0}
},
{
"mat3[2]", /* name */
......@@ -359,7 +359,7 @@ struct test_desc {
true, /* is_floating_point */
18, /* num_elements, expected_float, expected_int */
{0.666, 666.0, 999.0, -2.0, 0.2, 5.0, 3.0, 0.3, -10.0,
20.0, 10.0, 5.0, 90.0, -4.0, 3.4, -2.3, -8.6, 8.0}, {}
20.0, 10.0, 5.0, 90.0, -4.0, 3.4, -2.3, -8.6, 8.0}, {0}
},
{
"mat3x4", /* name */
......@@ -379,7 +379,7 @@ struct test_desc {
true, /* is_floating_point */
12, /* num_elements, expected_float, expected_int */
{0.666, 666.0, 999.0, -2.0, 0.2, 5.0, 3.0, 0.3, -10.0, 0.4, -4.1, -5.9}, {}
{0.666, 666.0, 999.0, -2.0, 0.2, 5.0, 3.0, 0.3, -10.0, 0.4, -4.1, -5.9}, {0}
},
{
"mat3x4[2]", /* name */
......@@ -400,7 +400,7 @@ struct test_desc {
true, /* is_floating_point */
24, /* num_elements, expected_float, expected_int */
{0.666, 666.0, 999.0, -2.0, 0.2, 5.0, 3.0, 0.3, -10.0, 0.4, -4.1, -5.9,
20.0, 10.0, 5.0, 90.0, -4.0, 3.4, -2.3, -8.6, 8.0, 0.4, -4.1, -5.9}, {}
20.0, 10.0, 5.0, 90.0, -4.0, 3.4, -2.3, -8.6, 8.0, 0.4, -4.1, -5.9}, {0}
},
{
"mat4x2", /* name */
......@@ -417,7 +417,7 @@ struct test_desc {
true, /* is_floating_point */
8, /* num_elements, expected_float, expected_int */
{0.666, 666, 999, -2, 0.5, -0.4, 30, 40}, {}
{0.666, 666, 999, -2, 0.5, -0.4, 30, 40}, {0}
},
{
"mat4x2[2]", /* name */
......@@ -436,7 +436,7 @@ struct test_desc {
true, /* is_floating_point */
16, /* num_elements, expected_float, expected_int */
{0.666, 666, 999, -2, 0.5, -0.4, 30, 40,
20.0, 10.0, 5.0, 90.0, -4.0, 3.4, -2.3, -8.6}, {}
20.0, 10.0, 5.0, 90.0, -4.0, 3.4, -2.3, -8.6}, {0}
},
{
"mat4x3", /* name */
......@@ -455,7 +455,7 @@ struct test_desc {
true, /* is_floating_point */
12, /* num_elements, expected_float, expected_int */
{0.666, 666, 999, -2, 0.5, -0.4, 30, 40, 0.3, 0.2, 0.1, 0.4}, {}
{0.666, 666, 999, -2, 0.5, -0.4, 30, 40, 0.3, 0.2, 0.1, 0.4}, {0}
},
{
"mat4x3[2]", /* name */
......@@ -477,7 +477,7 @@ struct test_desc {
true, /* is_floating_point */
24, /* num_elements, expected_float, expected_int */
{0.666, 666, 999, -2, 0.5, -0.4, 30, 40, 0.3, 0.2, 0.1, 0.4,
20.0, 10.0, 5.0, 90.0, -4.0, 3.4, -2.3, -8.6, 8.0, 0.4, -4.1, -5.9}, {}
20.0, 10.0, 5.0, 90.0, -4.0, 3.4, -2.3, -8.6, 8.0, 0.4, -4.1, -5.9}, {0}
},
{
"mat4", /* name */
......@@ -500,7 +500,7 @@ struct test_desc {
{0.666, 666.0, 999.0, -2.0,
0.2, 5.0, 3.0, 0.3,
-10.0, 20.1, 52.4, -34.3,
45.0, 56.0, 67.0, 78.0}, {}
45.0, 56.0, 67.0, 78.0}, {0}
},
{
"mat4[2]", /* name */
......@@ -525,7 +525,7 @@ struct test_desc {
-10.0, 20.1, 52.4, -34.3,
45.0, 56.0, 67.0, 78.0,
20.0, 10.0, 5.0, 90.0, -4.0, 3.4, -2.3, -8.6,
8.0, 0.4, -4.1, -5.9, -10.0, 0.4, -4.1, -5.9}, {}
8.0, 0.4, -4.1, -5.9, -10.0, 0.4, -4.1, -5.9}, {0}
},
{
"int", /* name */
......@@ -542,7 +542,7 @@ struct test_desc {
false, /* is_floating_point */
1, /* num_elements, expected_float, expected_int */
{}, {2145948354}
{0}, {2145948354}
},
{
"int[2]", /* name */
......@@ -560,7 +560,7 @@ struct test_desc {
false, /* is_floating_point */
2, /* num_elements, expected_float, expected_int */
{}, {-362245257, 2074398469}
{0}, {-362245257, 2074398469}
},
{
"ivec2", /* name */
......@@ -577,7 +577,7 @@ struct test_desc {
false, /* is_floating_point */
2, /* num_elements, expected_float, expected_int */
{}, {408918569, -69869318}
{0}, {408918569, -69869318}
},
{
"ivec2[2]", /* name */
......@@ -595,7 +595,7 @@ struct test_desc {
false, /* is_floating_point */
4, /* num_elements, expected_float, expected_int */
{}, {5703639, 654049542, 82927237, -1489678625}
{0}, {5703639, 654049542, 82927237, -1489678625}
},
{
"ivec3", /* name */
......@@ -612,7 +612,7 @@ struct test_desc {
false, /* is_floating_point */
3, /* num_elements, expected_float, expected_int */
{}, {1402620337, -931103284, -1922128750}
{0}, {1402620337, -931103284, -1922128750}
},
{
"ivec3[2]", /* name */
......@@ -630,7 +630,7 @@ struct test_desc {
false, /* is_floating_point */
6, /* num_elements, expected_float, expected_int */
{}, {819762795, 292214138, 207695021,
{0}, {819762795, 292214138, 207695021,
-541769145, -896550370, -322088831}
},
{
......@@ -648,7 +648,7 @@ struct test_desc {
false, /* is_floating_point */
4, /* num_elements, expected_float, expected_int */
{}, {1979209158, -791559088, -992849733, -59981678}
{0}, {1979209158, -791559088, -992849733, -59981678}
},
{
"ivec4[2]", /* name */
......@@ -666,7 +666,7 @@ struct test_desc {
false, /* is_floating_point */
8, /* num_elements, expected_float, expected_int */
{}, {-764612129, 395402837, -1260359913, 936205122,
{0}, {-764612129, 395402837, -1260359913, 936205122,
-1510453781, -707590649, -760434930, -1756396083}
},
{
......@@ -684,7 +684,7 @@ struct test_desc {
false, /* is_floating_point */
1, /* num_elements, expected_float, expected_int */
{}, {2230472931u}
{0}, {2230472931u}
},
{
"uint[2]", /* name */
......@@ -702,7 +702,7 @@ struct test_desc {
false, /* is_floating_point */
2, /* num_elements, expected_float, expected_int */
{}, {4073369952u, 1026348970u}
{0}, {4073369952u, 1026348970u}
},
{
"uvec2", /* name */
......@@ -719,7 +719,7 @@ struct test_desc {
false, /* is_floating_point */
2, /* num_elements, expected_float, expected_int */
{}, {1214092884u, 3587337147u}
{0}, {1214092884u, 3587337147u}
},
{
"uvec2[2]", /* name */
......@@ -737,7 +737,7 @@ struct test_desc {
false, /* is_floating_point */
4, /* num_elements, expected_float, expected_int */
{}, {1011258288u, 684916166u, 381807053u, 3306523233u}
{0}, {1011258288u, 684916166u, 381807053u, 3306523233u}
},
{
"uvec3", /* name */
......@@ -754,7 +754,7 @@ struct test_desc {
false, /* is_floating_point */
3, /* num_elements, expected_float, expected_int */
{}, {1076370307u, 1186562996u, 3616039281u}
{0}, {1076370307u, 1186562996u, 3616039281u}
},
{
"uvec3[2]", /* name */
......@@ -772,7 +772,7 @@ struct test_desc {
false, /* is_floating_point */
6, /* num_elements, expected_float, expected_int */
{}, {2984731006u, 2324137892u, 876349448u,
{0}, {2984731006u, 2324137892u, 876349448u,
2493082028u, 1481747175u, 1530233730u}
},
{
......@@ -790,7 +790,7 @@ struct test_desc {
false, /* is_floating_point */
4, /* num_elements, expected_float, expected_int */
{}, {3046379279u, 3265138790u, 4109383147u, 2654056480u}
{0}, {3046379279u, 3265138790u, 4109383147u, 2654056480u}
},
{
"uvec4[2]", /* name */
......@@ -808,7 +808,7 @@ struct test_desc {
false, /* is_floating_point */
8, /* num_elements, expected_float, expected_int */
{}, {2563680931u, 754130007u, 230209823u, 707580188u,
{0}, {2563680931u, 754130007u, 230209823u, 707580188u,
3015681429u, 3850948302u, 2224673498u, 2376088107u}
},
......
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