mirror of
https://github.com/KhronosGroup/SPIRV-Tools
synced 2024-10-18 11:10:05 +00:00
Add std450 instructions 49-52.
This commit is contained in:
parent
dca65b3f8c
commit
c48fcce978
@ -66,6 +66,10 @@ static const spv_ext_inst_desc_t glslStd450Entries[] = {
|
||||
// clang-format off
|
||||
{"Smoothstep", GLSLstd450::GLSLstd450SmoothStep, {SPV_OPERAND_TYPE_ID, SPV_OPERAND_TYPE_ID, SPV_OPERAND_TYPE_ID}},
|
||||
// clang-format on
|
||||
{GL450InstWithThreeIdParam(Fma)},
|
||||
{GL450InstWithTwoIdParam(Frexp)},
|
||||
{GL450InstWithOneIdParam(FrexpStruct)},
|
||||
{GL450InstWithTwoIdParam(Ldexp)},
|
||||
// TODO: Add remaining GLSL.std.450 instructions
|
||||
};
|
||||
|
||||
|
@ -179,4 +179,8 @@ INSTANTIATE_TEST_CASE_P(
|
||||
{kF32Type, kF32Const, "%4", "Mix", "%5 %5 %5", 46, 8, {5, 5, 5}},
|
||||
{kF32Type, kF32Const, "%4", "Step", "%5 %5", 47, 7, {5, 5}},
|
||||
{kF32Type, kF32Const, "%4", "Smoothstep", "%5 %5 %5", 48, 8, {5, 5, 5}},
|
||||
{kF32Type, kF32Const, "%4", "Fma", "%5 %5 %5", 49, 8, {5, 5, 5}},
|
||||
{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}},
|
||||
})));
|
||||
|
Loading…
Reference in New Issue
Block a user