https://github.com/shader-slang/slang
Raw File
Tip revision: d06a78d935b2743494d47ed5cd3f36e38ac9c5ac authored by Yong He on 04 February 2022, 03:17:30 UTC
Add gfx interop to allow more direct D3D12 usage scenarios. (#2117)
Tip revision: d06a78d
slang-ir-specialize-dynamic-associatedtype-lookup.h
// slang-ir-specialize-dynamic-associatedtype-lookup.h
#pragma once

namespace Slang
{
struct SharedGenericsLoweringContext;

/// Modifies the lookup of associatedtype entries from witness tables into
/// calls to a specialized "lookup" function that takes a witness table id
/// and returns a witness table id.
/// This is used on GPU targets where all witness tables are replaced as
/// integral IDs instead of a real pointer table.
void specializeDynamicAssociatedTypeLookup(SharedGenericsLoweringContext* sharedContext);

} // namespace Slang
back to top