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
..
2021-11-16 19:03:12 -05:00
2018-08-07 03:16:20 +09:00
2019-12-23 14:34:38 +08: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
2019-12-25 17:08:48 +08:00
2019-12-23 11:29:52 +08:00
2018-08-07 03:16:20 +09:00
2018-08-07 03:25:35 +09:00
2018-08-07 03:16:20 +09:00
2018-08-07 03:16:20 +09:00
2018-08-07 03:16:20 +09:00
2018-08-07 03:16:20 +09:00
2018-08-07 03:16:20 +09:00
2018-08-07 03:16:20 +09:00
2018-08-07 03:16:20 +09:00
2021-05-18 12:13:41 -04:00
2021-12-28 17:09:57 -07:00
2018-08-07 03:16:20 +09:00
2017-10-22 23:17:18 -06:00
2018-08-07 03:16:20 +09:00
2019-01-07 12:36:13 -06:00
2019-01-07 12:36:13 -06:00
2019-01-07 12:36:13 -06:00
2019-01-07 12:36:13 -06:00
2019-01-07 12:36:13 -06:00
2019-01-07 12:36:13 -06:00
2019-01-07 12:36:13 -06:00
2019-01-07 12:36:13 -06:00
2019-01-07 12:36:13 -06:00
2018-08-07 03:16:20 +09:00
2018-08-07 03:16:20 +09:00
2018-08-07 03:16:20 +09:00
2018-08-07 03:16:20 +09:00
2018-08-07 03:16:20 +09:00
2018-04-23 15:17:21 -06:00
2021-01-25 15:54:52 -05:00
2019-10-23 00:25:39 -06:00
2019-10-23 00:25:39 -06:00