Skip to content

Commit 3421eb2

Browse files
committed
Correct Raster Ordered UAVs criteria. Correct Disable shader optimizations critera
1 parent 42ca0a3 commit 3421eb2

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

docs/DXIL.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -520,7 +520,7 @@ Shaders have additional flags that convey their capabilities via a tag-value pai
520520
=== ==== ======================================================================================== ==========================================================================================================================================================================================================================================================================================================================================================
521521
Bit SM Description Criteria to set shader flag
522522
=== ==== ======================================================================================== ==========================================================================================================================================================================================================================================================================================================================================================
523-
0 Disable shader optimizations Command-line flag ``-disable-llvm-optzns`` provided to DXC's internal frontend
523+
0 Disable shader optimizations Command-line flag ``/Od`` is provided to DXC
524524
1 Disable math refactoring Not set
525525
2 Double-precision floating point Use of the double data type
526526
3 Force early depth-stencil test Shader is a pixel shader, and the ``[earlydepthstencil]`` attribute is present in the HLSL source
@@ -532,13 +532,13 @@ Bit SM Description
532532
9 SV_RenderTargetArrayIndex or SV_ViewportArrayIndex from any shader feeding rasterizer ViewPortArrayIndex or RenderTargetArrayIndex semantics are present in the input signature of a geometry shader, or the output signature of a vertex, domain, or hull shader. If DXIL validator version < 1.4, this flag is also required if the ViewPortArrayIndex or RenderTargetArrayIndex semantics are present in the input signature of domain and hull shaders
533533
10 PS Inner Coverage Use of the InnerCoverage instruction, or the InnerCoverage semantic is present in the output signature of a pixel shader
534534
11 PS Output Stencil Ref The StencilRef semantic is present in the output signature of a pixel shader
535-
12 Tiled resources Use of the CheckAccessFullyMapped instruction or, if DXIL validator version >= 1.8, the use of LodClamp in intrinsics SampleGrad, SampleCmpGrad, Sample, SampleBias, SampleCmp, or SampleCmpBias
535+
12 Tiled resources Use of the CheckAccessFullyMapped instruction or, if DXIL validator version >= 1.8, the use of LodClamp in instructions SampleGrad, SampleCmpGrad, Sample, SampleBias, SampleCmp, or SampleCmpBias
536536
13 Typed UAV load additional formats Use of TextureLoad or BufferLoad on a UAV with a multi-component data type. If DXIL validator version == 1.0 then this flag is set when a TextureLoad or BufferLoad is used on any UAV, regardless of its data type
537537
14 Comparison filtering for feature level 9 Not set
538538
15 64 UAV slots The presence of more than 8 UAVs. If Shader Model >= 6.6, then UAV ranges count as multiple UAVs
539539
16 UAVs at every shader stage The shader has UAVs and: if Shader Model >= 6.8, the shader is a vertex, hull, domain, or geometry shader; else (Shader Model < 6.8) the shader is not a compute or pixel shader
540540
17 CS4 raw and structured buffers Use of RawBuffer or StructuedBuffer in a Shader Model 4.x compute shader
541-
18 Raster Ordered UAVs Not set
541+
18 Raster Ordered UAVs Use of raster order views (ROVs)
542542
19 Wave level operations Use of any wave or quad intrinsic: WaveIsFirstLane, WaveGetLaneIndex, WaveGetLaneCount, WaveAnyTrue, WaveAllTrue, WaveActiveAllEqual, WaveActiveBallot, WaveReadLaneAt, WaveReadLaneFirst, WaveActiveOp, WaveActiveBit, WavePrefixOp, QuadReadLaneAt, QuadOp, WaveAllBitCount, WavePrefixBitCount, WaveMatch, WaveMultiPrefixOp, WaveMultiPrefixBitCount, QuadVote
543543
20 64-Bit integers Use of i64 data types
544544
21 6.1+ View Instancing Use of the ViewID instruction

0 commit comments

Comments
 (0)