glslang/Test/baseResults
David Neto 63dbacaa94 Fix Test/hlsl.namespace.frag test case
Before this change, the example is rejected by DXC:

$ dxc -T ps_6_0 hlsl.namespace.frag
hlsl.namespace.frag:22:73: error: call to non-static member function
without an object argument
    return N1::getVec() + N2::getVec() + N2::N3::getVec() + N2::N3::C1::getVec() * N2::gf;
                                                                ~~~~~~~~~~~~^~~~~~

The call to the class member function requires an object, or we ned to
make the function static.  This update makes the function static.

This also fixes SPIR-V validation: without this change the call
to that getVec does not have enough arguments:

error: line 69: OpFunctionCall Function <id>'s parameter count does not
match the argument count.
  %43 = OpFunctionCall %v4float %N2__N3__C1__getVec_
2022-02-16 17:17:08 -05:00
..
2018-08-07 03:16:20 +09:00
2020-01-06 15:53:20 +08:00
2018-08-07 03:16:20 +09:00
2018-08-07 03:16:20 +09:00
2019-12-25 17:08:48 +08:00
2019-12-23 11:29:52 +08:00
2018-08-07 03:16:20 +09:00
2021-12-28 17:09:57 -07:00