<feed xmlns='http://www.w3.org/2005/Atom'>
<title>slang.git/tests/bugs/specialize-function-array-args.slang.expected.txt, branch master</title>
<subtitle>Making it easier to work with shaders</subtitle>
<id>https://git.yummers.dev/slang.git/atom?h=master</id>
<link rel='self' href='https://git.yummers.dev/slang.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/'/>
<updated>2020-07-17T20:38:18+00:00</updated>
<entry>
<title>Disable specializing function calls if they have a struct param, that contains an array (#1448)</title>
<updated>2020-07-17T20:38:18+00:00</updated>
<author>
<name>jsmall-nvidia</name>
<email>jsmall@nvidia.com</email>
</author>
<published>2020-07-17T20:38:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=975c5db3f0a71bc93369a321318e7d3b43001ff5'/>
<id>urn:sha1:975c5db3f0a71bc93369a321318e7d3b43001ff5</id>
<content type='text'>
* This code is disabled, it was part of the optimization `Specialize function calls involving array arguments. (#1389)` on github.
It is disabled here because it causes a problem when a struct is passed to a function that contains a structured buffer *and* an array. It is specialized on the struct type, and so those types become parameters to the function. If the struct contains a structured buffer this is a problem on GLSL/VK based targets because currently structured buffers cannot be function parameters.
The fix for now is to just disable this optimization.

* Fix typo in name of test expected values.</content>
</entry>
</feed>
