Export (0) Print
Expand All
Expand Minimize

dcl_function_table (sm5 - asm)

Declare a function table.

dcl_function_table ft# = {fb#, fb#, ...}

 

ItemDescription

ft

[in] The function table entries.

 

Remarks

This function declares a function table as a set of function bodies that have been declared earlier.

This is like a C++ vtable except there is an entry per call site for an interface instead of per method.

There is no limit to how many function bodies can be listed in a function table.

It is valid for a given function body fb# to be referenced multiple times in one or more function tables, as a way of sharing common code.

This instruction applies to the following shader stages:

VertexHullDomainGeometryPixelCompute
XX X XXX

 

Minimum Shader Model

This instruction is supported in the following shader models:

Shader ModelSupported
Shader Model 5 yes
Shader Model 4.1 no
Shader Model 4 no
Shader Model 3 (DirectX HLSL) no
Shader Model 2 (DirectX HLSL) no
Shader Model 1 (DirectX HLSL) no

 

 

 

Community Additions

ADD
Show:
© 2014 Microsoft