<feed xmlns='http://www.w3.org/2005/Atom'>
<title>slang.git/tests/compute/dynamic-dispatch-1.slang, 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>2021-01-15T20:10:06+00:00</updated>
<entry>
<title>Convert more tests to use shader objects (#1659)</title>
<updated>2021-01-15T20:10:06+00:00</updated>
<author>
<name>Tim Foley</name>
<email>tfoleyNV@users.noreply.github.com</email>
</author>
<published>2021-01-15T20:10:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=2a5d5b32348c33aac7ca62aa9a4c2bb7cff8e08a'/>
<id>urn:sha1:2a5d5b32348c33aac7ca62aa9a4c2bb7cff8e08a</id>
<content type='text'>
This change converts a large number of our existing tests to use the `ShaderObject` support that was added to the `gfx` layer.

In many cases, tests were just updated to pass `-shaderobj` and the result Just Worked.
In other cases, a `name` attribute had to be added to one or more `TEST_INPUT` lines.

For tests that did not work with shader objects "out of the box," I spent a little bit of time trying to get them work, but fell back to letting those tests run in the older mode.
Future changes to the infrastructure will be needed to get those additional tests working in the new path.

Along with the changes to test files, the following implementation changes were made to get additional tests working:

* Because the shader object mode uses explicit register bindings (from reflection), the hacky logic that was offseting `u` registers for D3D12 based on the number of render targets gets disabled (by another hack).

* The "flat" reflection information coming from Slang was not correctly reporting "binding ranges" for things that consumed only uniform data (which would be everything on CUDA/CPU), so it was refactored to properly include binding ranges for anything where the type of the field/variable implied a binding range should be created (even if the `LayoutResourceKind` was `::Uniform`).

* A few fixes were made to the CUDA implementation of `Renderer`, in order to get additional tests up and running. Most of these changes had to do with texture bindings, which hadn't really been tested previously.

In addition, a few changes were made that were attempts at getting more tests working, but didn't actually help. These could be dropped if requested:

* As a quality-of-life feature (not being used) the `object` style of `TEST_INPUT` line is upgraded to support inferring the type to use from the type of the input being set.

* Any `object` shader input lines get ignored in non-shader-object mode.</content>
</entry>
<entry>
<title>Enable all dynamic-dispatch tests on D3D/VK. (#1615)</title>
<updated>2020-11-30T16:59:34+00:00</updated>
<author>
<name>Yong He</name>
<email>yonghe@outlook.com</email>
</author>
<published>2020-11-30T16:59:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=339422dc91e10d15cf861ba3006025e3cec250c5'/>
<id>urn:sha1:339422dc91e10d15cf861ba3006025e3cec250c5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Initial attempt to enable CUDA dynamic dispatch codegen (#1549)</title>
<updated>2020-09-17T23:46:23+00:00</updated>
<author>
<name>Yong He</name>
<email>yonghe@outlook.com</email>
</author>
<published>2020-09-17T23:46:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=2ddca33686c08e1833c0d82a420fb2b27cde4e37'/>
<id>urn:sha1:2ddca33686c08e1833c0d82a420fb2b27cde4e37</id>
<content type='text'>
* Front-load cuda module loading to fill in RTTI pointers.

* Enable dynamic dispatch codegen for CUDA.</content>
</entry>
<entry>
<title>Enable lower-generics pass universally. (#1518)</title>
<updated>2020-08-28T16:04:55+00:00</updated>
<author>
<name>Yong He</name>
<email>yonghe@outlook.com</email>
</author>
<published>2020-08-28T16:04:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=ab5b0a7f9fbc47f7c51a7ec4a20ac0be55333e93'/>
<id>urn:sha1:ab5b0a7f9fbc47f7c51a7ec4a20ac0be55333e93</id>
<content type='text'>
* Enable lower-generics pass universally.

* Exclude builtin interfaces and functions from lower-generics pass.

* Update stdlib.

* Fixup.

* Fixes handling of nested intrinsic generic functions.

* Fixes.

* Fixes.</content>
</entry>
<entry>
<title>`AnyValue` based dynamic dispatch code gen (#1477)</title>
<updated>2020-08-05T17:32:52+00:00</updated>
<author>
<name>Yong He</name>
<email>yonghe@outlook.com</email>
</author>
<published>2020-08-05T17:32:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=6fb2aa70a2681bffbac7e8de67e9598105389945'/>
<id>urn:sha1:6fb2aa70a2681bffbac7e8de67e9598105389945</id>
<content type='text'>
* AnyValue based dynamic code gen

* Fix aarch64 build error</content>
</entry>
<entry>
<title>Disable dynamic dispatch tests on CUDA - as fails with exception about unhandled op. (#1425)</title>
<updated>2020-07-01T21:44:46+00:00</updated>
<author>
<name>jsmall-nvidia</name>
<email>jsmall@nvidia.com</email>
</author>
<published>2020-07-01T21:44:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=6cbb88fb86b1688b37106ac873d68a57def706f2'/>
<id>urn:sha1:6cbb88fb86b1688b37106ac873d68a57def706f2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Dynamic dipatch non-static functions.</title>
<updated>2020-06-18T06:47:11+00:00</updated>
<author>
<name>Yong He</name>
<email>yonghe@outlook.com</email>
</author>
<published>2020-06-18T05:41:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=8c6e02bd094bbc0c9afb141265be9675f99ddb61'/>
<id>urn:sha1:8c6e02bd094bbc0c9afb141265be9675f99ddb61</id>
<content type='text'>
</content>
</entry>
</feed>
