https://github.com/shader-slang/slang
Raw File
Tip revision: e59516fa8c3a16eb7b99a928c5b85b97bf44fd72 authored by Yong He on 01 February 2022, 00:26:03 UTC
Revise entrypoint renaming interface. (#2113)
Tip revision: e59516f
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