<feed xmlns='http://www.w3.org/2005/Atom'>
<title>slang.git/external/dxc, 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>2023-04-14T03:59:17+00:00</updated>
<entry>
<title>Enable SLANG_ENABLE_DXIL_SUPPORT on non-Windows platforms (#2750)</title>
<updated>2023-04-14T03:59:17+00:00</updated>
<author>
<name>Ellie Hermaszewska</name>
<email>ellieh@nvidia.com</email>
</author>
<published>2023-04-14T03:59:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=5a629b3ccd801a1f0647e971d01481c55d3381c2'/>
<id>urn:sha1:5a629b3ccd801a1f0647e971d01481c55d3381c2</id>
<content type='text'>
* Enable SLANG_ENABLE_DXIL_SUPPORT on non-Windows platforms

This currently grabs the DXC headers from the system, rather than from external/dxc

We should make this consistent by either pulling in the Windows adapter from DXC into external/dxc or by making the Windows builds use &lt;dxc/dxcapi.h&gt;

* Update dxcapi and add DXC's WinAdapter

* Use our copy of dxcapi.h for non-windows DXC usage

* Only set -fms-extensions where necessary

* Work around dxc dlclose bug

* Neaten and comment dxc-compiler.cpp</content>
</entry>
<entry>
<title>Add getVersionString() to IDownstreamCompiler (#2446)</title>
<updated>2022-10-13T23:00:05+00:00</updated>
<author>
<name>lucy96chen</name>
<email>47800040+lucy96chen@users.noreply.github.com</email>
</author>
<published>2022-10-13T23:00:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=e03026a07c4aa32c1a2de5ce199d910d74511c27'/>
<id>urn:sha1:e03026a07c4aa32c1a2de5ce199d910d74511c27</id>
<content type='text'>
* checkpoint

* Added shaderCachePath field to IDevice desc in gfx.slang, gfx-smoke.slang should be functional

* ran premake

* Added getVersionString() to IDownstreamCompiler and implemented it in DownstreamCompilerBase, GlslangDownstreamCompiler, and DXCDownstreamCompiler

* Added hashInto to Val and implemented for all subtypes which contain _getHashCodeOverride implementations; nothing hooked up to caching yet

* Revert erroneous commits from rebasing

* Re-ran premake.bat; changed hashInto implementations to _hashIntoOverride

* downstream compiler getVersionString hooked up into shader cache

* Rebuild CI, Win32 Release builds successfully locally

* Rebuild CI, Win32 and x64 Release build successfully locally

* Reverted Val::hashInto changes, deferred for later; modified init() for downstream compilers to fetch, hash, and save the hashes of their corresponding dlls (currently implemented for glslang and dxc), changed getVersionString() to directly return the saved hash for key computation

* call site changes post-merge; fixing CI build failures

* Removed remaining hashInto; Updated hashToString to produce string one byte at a time

* Fixed expected output to match new hashToString output order

* Missed string edit in hashing related unit tests

* Updated dxcapi.h; Replaced getVersionString implementation in glslang with the shared library timestamp, dxc implementation queries for IDxcVersionInfo and IDxcVersionInfo2 then fetches and returns the relevant values

* Fixing CI build failures

* Changed RawBlob to StringBlob for strings

* Modified getVersionString for dxc to always return either the version plus commit hash or shared library timestamp</content>
</entry>
<entry>
<title>Allow use of dxc compiler for DXIL generation (#241)</title>
<updated>2017-11-01T15:30:45+00:00</updated>
<author>
<name>Tim Foley</name>
<email>tfoleyNV@users.noreply.github.com</email>
</author>
<published>2017-11-01T15:30:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=ec41631032b65973e8f92348e0a86bb9924ef981'/>
<id>urn:sha1:ec41631032b65973e8f92348e0a86bb9924ef981</id>
<content type='text'>
- Add shader model 6.0, 6.1, and 6.2 targets

- Add DXIL and DXIL assembly as output formats

- Add header for DXC API to `external/`

- Add `dxc-support.cpp` that wraps usage of the API

- Add `-pass-through dxc` option, equivalent to what we have for `fxc`

Notes:
* This does *not* include any logic to add `dxcompiler.dll` to our build process; that is way out of scope for the build complexity I'm ready to deal with
* For right now, the use of `dxcompiler.dll` is hard-coded, and it must be discoverable in the current executable's search path; options to customize can come later
* The `-pass-through` option is kind of silly because the code doesn't actually pay attention to the value (just whether it is set). If you set it to `fxc` but ask for DXIL, we pass through `dxc` anyway.</content>
</entry>
</feed>
