LoopDawg e2cda3c2d7 HLSL: handle clip and cull distance input builtin type conversion
HLSL allows a range of types for clip and cull distances.  There are
three dimensions, including arrayness, vectorness, and semantic ID.
SPIR-V requires clip and cull distance be a single array of floats in
all cases.

This code provides input side conversion between the SPIR-V form and
the HLSL form.  (Output conversion was added in PR #947 and #997).

This PR extends HlslParseContext::assignClipCullDistance to cope with
the input side conversion.  Not as much changed as appears: there was
also a lot of renaming to reflect the fact that the code now handles
either direction.

Currently, non-{frag,vert} stages are not handled, and are explicitly
rejected.

Fixes #1026.
2017-08-24 08:35:40 -06: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
2017-07-23 13:54:15 -06:00
2017-07-23 13:54:15 -06:00
2017-07-23 13:54:15 -06:00
2017-07-23 13:54:15 -06:00
2017-07-23 13:54:15 -06:00
2017-07-23 13:54:15 -06:00
2017-07-23 11:49:42 -06:00
2015-06-26 10:48:26 -06:00
2013-03-04 23:50:08 +00: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
2017-06-26 17:52:22 -06:00
2017-03-03 18:19:03 -07:00
2017-03-22 11:38:22 -06:00
2013-11-12 03:31:24 +00:00
2013-11-12 03:31:24 +00:00
2013-02-08 18:56:56 +00:00