Open farzonl opened 4 months ago
Barrier
hlsl_intrinsics.h
CheckHLSLBuiltinFunctionCall
SemaChecking.cpp
EmitHLSLBuiltinExpr
CGBuiltin.cpp
clang/test/CodeGenHLSL/builtins/Barrier.hlsl
clang/test/SemaHLSL/BuiltIns/Barrier-errors.hlsl
int_dx_Barrier
IntrinsicsDirectX.td
DXILOpMapping
244
DXIL.td
Barrier.ll
Barrier_errors.ll
llvm/test/CodeGen/DirectX/
There is no support for Barrier when targeting SPIR-V.
//dxc Barrier_test.hlsl -T lib_6_8 -enable-16bit-types -O0 export void fn() { uint p1 = 1; uint p2 = 1; return Barrier(p1, p2); }
//dxc Barrier_1_test.hlsl -T lib_6_8 -enable-16bit-types -O0 export void fn() { uint p1 = 1; uint p2 = 1; return Barrier(p1, p2); }
void Barrier(uint MemoryTypeFlags, uint SemanticFlags);
void Barrier(NodeRecordOrUAV o, uint SemanticFlags);
@adam-yang After last week's refinement we have considered that your Barrier ticket should cover all the cases:
Barrier
clang builtin,Barrier
clang builtin withhlsl_intrinsics.h
Barrier
toCheckHLSLBuiltinFunctionCall
inSemaChecking.cpp
Barrier
toEmitHLSLBuiltinExpr
inCGBuiltin.cpp
clang/test/CodeGenHLSL/builtins/Barrier.hlsl
clang/test/SemaHLSL/BuiltIns/Barrier-errors.hlsl
int_dx_Barrier
intrinsic inIntrinsicsDirectX.td
DXILOpMapping
ofint_dx_Barrier
to244
inDXIL.td
Barrier.ll
andBarrier_errors.ll
tests inllvm/test/CodeGen/DirectX/
DirectX
SPIR-V
There is no support for
Barrier
when targeting SPIR-V.Test Case(s)
Example 1
Example 2
HLSL:
Syntax
Type Description
Type Description
Minimum Shader Model
Shader Stages
See also