<feed xmlns='http://www.w3.org/2005/Atom'>
<title>slang.git/tests/hlsl-intrinsic/texture/gather-texture2darray.slang.hlsl, 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-05-14T21:50:00+00:00</updated>
<entry>
<title>FXC as DownstreamCompiler (#1844)</title>
<updated>2021-05-14T21:50:00+00:00</updated>
<author>
<name>jsmall-nvidia</name>
<email>jsmall@nvidia.com</email>
</author>
<published>2021-05-14T21:50:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=d4316c88457a32f1169b2d7d82053ccbc05fa7ed'/>
<id>urn:sha1:d4316c88457a32f1169b2d7d82053ccbc05fa7ed</id>
<content type='text'>
* #include an absolute path didn't work - because paths were taken to always be relative.

* WIP Fxc as downstream compiler.

* First pass FXC downstream compiler working.

* GCC compile fix.

* Fix FXC parsing issue.

* Special case filesystem access.

* Use StringUtil getSlice.

* Fix isses with not emitting source for FXC.

* Small fixes for DXBC handling.</content>
</entry>
<entry>
<title>Fix stdlib declarations for texture Gather() (#1510)</title>
<updated>2020-08-21T16:47:29+00:00</updated>
<author>
<name>Tim Foley</name>
<email>tfoleyNV@users.noreply.github.com</email>
</author>
<published>2020-08-21T16:47:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=49067fd2e97b40649df3fa2ce096f78c2e45da5a'/>
<id>urn:sha1:49067fd2e97b40649df3fa2ce096f78c2e45da5a</id>
<content type='text'>
Fixes #1507

These operations were failing to take into account the way that array textures require an extra coordinate to be passed in for the primary location (but not the additional offsets). Adding `isArray` to the component count is the existing solution used for similar intrinsics elsewhere in the stdlib, and it is adopted here.

Because our test framework isn't really set up to do a lot of texture testing (including having no support for texture arrays), the test added here is just a cross-compilation test that compares output with fxc for comparable input.</content>
</entry>
</feed>
