[clang] [llvm] [DirectX][SPIRV] Consistent names for HLSL resource intrinsics (PR #120466)
Chris B via cfe-commits
cfe-commits at lists.llvm.org
Wed Dec 18 10:57:09 PST 2024
================
@@ -208,37 +208,44 @@ Examples:
.. code-block:: llvm
- ; RWBuffer<float4> Buf : register(u5, space3)
- %buf = call target("dx.TypedBuffer", <4 x float>, 1, 0, 0)
- @llvm.dx.handle.fromBinding.tdx.TypedBuffer_f32_1_0(
- i32 3, i32 5, i32 1, i32 0, i1 false)
-
- ; RWBuffer<int> Buf : register(u7, space2)
- %buf = call target("dx.TypedBuffer", i32, 1, 0, 1)
- @llvm.dx.handle.fromBinding.tdx.TypedBuffer_i32_1_0t(
- i32 2, i32 7, i32 1, i32 0, i1 false)
-
- ; Buffer<uint4> Buf[24] : register(t3, space5)
- %buf = call target("dx.TypedBuffer", <4 x i32>, 0, 0, 0)
- @llvm.dx.handle.fromBinding.tdx.TypedBuffer_i32_0_0t(
- i32 2, i32 7, i32 24, i32 0, i1 false)
-
- ; struct S { float4 a; uint4 b; };
+ ;
+RWBuffer<float4> Buf : register(u5, space3) % buf =
----------------
llvm-beanz wrote:
This is from the failing doc build. Seems to be referring to this block.
> /home/runner/work/llvm-project/llvm-project/llvm/docs/DirectX/DXILResources.rst:212:Explicit markup ends without a blank line; unexpected unindent.
https://github.com/llvm/llvm-project/pull/120466
More information about the cfe-commits
mailing list