steve-lunarg 26d3145334 HLSL default function parameters
This PR adds support for default function parameters in the following cases:

1. Simple constants, such as void fn(int x, float myparam = 3)
2. Expressions that can be const folded, such a ... myparam = sin(some_const)
3. Initializer lists that can be const folded, such as ... float2 myparam = {1,2}

New tests are added: hlsl.params.default.frag and hlsl.params.default.err.frag
(for testing error situations, such as ambiguity or non-const-foldable).

In order to avoid sampler method ambiguity, the hlsl better() lambda now
considers sampler matches.  Previously, all sampler types looked identical
since only the basic type of EbtSampler was considered.
2016-12-29 12:15:48 -07:00
..
2016-03-03 12:12:07 -05:00
2016-07-19 15:13:47 -06:00
2014-04-14 16:14:30 +00:00
2015-06-26 10:48:26 -06:00
2015-06-26 10:48:26 -06:00
2016-06-19 11:50:34 -06:00
2016-11-21 18:25:08 -07:00
2013-11-12 03:31:24 +00:00
2013-11-12 03:31:24 +00:00