Add std450 instructions 53-64.

This commit is contained in:
Dejan Mircevski 2015-08-27 13:57:08 -04:00 committed by David Neto
parent 3cb589639d
commit afdbd2d303
2 changed files with 24 additions and 1 deletions

View File

@ -72,6 +72,18 @@ static const spv_ext_inst_desc_t glslStd450Entries[] = {
{GLSL450Inst2(Frexp)},
{GLSL450Inst1(FrexpStruct)},
{GLSL450Inst2(Ldexp)},
{GLSL450Inst1(PackSnorm4x8)},
{GLSL450Inst1(PackUnorm4x8)},
{GLSL450Inst1(PackSnorm2x16)},
{GLSL450Inst1(PackUnorm2x16)},
{GLSL450Inst1(PackHalf2x16)},
{GLSL450Inst1(PackDouble2x32)},
{GLSL450Inst1(UnpackSnorm2x16)},
{GLSL450Inst1(UnpackUnorm2x16)},
{GLSL450Inst1(UnpackHalf2x16)},
{GLSL450Inst1(UnpackSnorm4x8)},
{GLSL450Inst1(UnpackUnorm4x8)},
{GLSL450Inst1(UnpackDouble2x32)},
{GLSL450Inst1(Length)},
{GLSL450Inst2(Distance)},
{GLSL450Inst2(Cross)},

View File

@ -187,7 +187,18 @@ INSTANTIATE_TEST_CASE_P(
{kF32Type, kF32Const, "%4", "Frexp", "%5 %5", 50, 7, {5, 5}},
{kF32Type, kF32Const, "%4", "FrexpStruct", "%5", 51, 6, {5}},
{kF32Type, kF32Const, "%4", "Ldexp", "%5 %5", 52, 7, {5, 5}},
{kF32Type, kF32Const, "%4", "PackSnorm4x8", "%5", 53, 6, {5}},
{kF32Type, kF32Const, "%4", "PackUnorm4x8", "%5", 54, 6, {5}},
{kF32Type, kF32Const, "%4", "PackSnorm2x16", "%5", 55, 6, {5}},
{kF32Type, kF32Const, "%4", "PackUnorm2x16", "%5", 56, 6, {5}},
{kF32Type, kF32Const, "%4", "PackHalf2x16", "%5", 57, 6, {5}},
{kF32Type, kF32Const, "%4", "PackDouble2x32", "%5", 58, 6, {5}},
{kF32Type, kF32Const, "%4", "UnpackSnorm2x16", "%5", 59, 6, {5}},
{kF32Type, kF32Const, "%4", "UnpackUnorm2x16", "%5", 60, 6, {5}},
{kF32Type, kF32Const, "%4", "UnpackHalf2x16", "%5", 61, 6, {5}},
{kF32Type, kF32Const, "%4", "UnpackSnorm4x8", "%5", 62, 6, {5}},
{kF32Type, kF32Const, "%4", "UnpackUnorm4x8", "%5", 63, 6, {5}},
{kF32Type, kF32Const, "%4", "UnpackDouble2x32", "%5", 64, 6, {5}},
{kF32Type, kF32Const, "%4", "Length", "%5", 65, 6, {5}},
{kF32Type, kF32Const, "%4", "Distance", "%5 %5", 66, 7, {5, 5}},
{kF32Type, kF32Const, "%4", "Cross", "%5 %5", 67, 7, {5, 5}},