https://github.com/shader-slang/slang
Raw File
Tip revision: 5902acdabc4445a65741a7a6a3a95f223e301059 authored by Yong He on 23 January 2024, 07:19:40 UTC
[LSP] Fetch configs directly from didConfigurationChanged message. (#3478)
Tip revision: 5902acd
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