diff options
| author | cheneym2 <acheney@nvidia.com> | 2025-02-26 21:20:29 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-26 18:20:29 -0800 |
| commit | 02706dfc5f0526f4f8ca337be16d7b00640ba168 (patch) | |
| tree | 08a7b1a94aaa048a07864bf7dec68ab23fb00edb /tools/gfx/vulkan/vk-device.h | |
| parent | 6e862bb370c1f64abf0e7f9efa73dec38a76555e (diff) | |
Fix precompiledTargetModule tests (#6455)
* Fix precompiledTargetModule tests
Add SPIRV-Tool linker support to gfx unit tests
and use the linker in precompileModule tests
that use precompiled modules to reconstitute
SPIRV shaders that were modularly compiled.
Fix a Slang reference count bug in the
precompile service.
* Use sm_6_6
New DXC requires higher version
for linkability.
* Rename helper function, pass by reference
* Link through slang-glslang
* Add missing files
* Fix metal
* format code
---------
Co-authored-by: slangbot <186143334+slangbot@users.noreply.github.com>
Co-authored-by: Yong He <yonghe@outlook.com>
Diffstat (limited to 'tools/gfx/vulkan/vk-device.h')
| -rw-r--r-- | tools/gfx/vulkan/vk-device.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/gfx/vulkan/vk-device.h b/tools/gfx/vulkan/vk-device.h index 3b6c83103..27cc4c3ce 100644 --- a/tools/gfx/vulkan/vk-device.h +++ b/tools/gfx/vulkan/vk-device.h @@ -1,6 +1,7 @@ // vk-device.h #pragma once +#include "glslang-module.h" #include "vk-base.h" #include "vk-framebuffer.h" @@ -196,6 +197,7 @@ public: VulkanModule m_module; VulkanApi m_api; + GlslangModule m_glslang; VulkanDeviceQueue m_deviceQueue; uint32_t m_queueFamilyIndex; |
