@@ -88,21 +88,29 @@ The shader model is specified as a named metadata in DXIL::
88
88
!dx.shaderModel = !{ !0 }
89
89
!0 = !{ !"<shadelModelName>", i32 <major>, i32 <minor> }
90
90
91
- The following values of <shaderModelName>_<major>_<minor> are supported:
92
-
93
- ==================== ===================================== ===========
94
- Target Legacy Models DXIL Models
95
- ==================== ===================================== ===========
96
- Vertex shader (VS) vs_4_0, vs_4_1, vs_5_0, vs_5_1 vs_6_0
97
- Hull shader (HS) hs_5_0, hs_5_1 hs_6_0
98
- Domain shader (DS) ds_5_0, ds_5_1 ds_6_0
99
- Geometry shader (GS) gs_4_0, gs_4_1, gs_5_0, gs_5_1 gs_6_0
100
- Pixel shader (PS) ps_4_0, ps_4_1, ps_5_0, ps_5_1 ps_6_0
101
- Compute shader (CS) cs_5_0 (cs_4_0 is mapped onto cs_5_0) cs_6_0
102
- Shader library no support lib_6_1
103
- Mesh shader (MS) no support ms_6_5
104
- Amplification shader (AS) no support as_6_5
105
- ========================= ===================================== ===========
91
+ The following values of ``<shaderModelName> ``, ``<major> ``, ``<minor> `` are supported:
92
+
93
+ +-----------------------+---------------------------------------+-------------+
94
+ | Target | Legacy Models | DXIL Models |
95
+ +=======================+=======================================+=============+
96
+ | Vertex shader (VS) | vs_4_0, vs_4_1, vs_5_0, vs_5_1 | vs_6_0 |
97
+ +-----------------------+---------------------------------------+-------------+
98
+ | Hull shader (HS) | hs_5_0, hs_5_1 | hs_6_0 |
99
+ +-----------------------+---------------------------------------+-------------+
100
+ | Domain shader (DS) | ds_5_0, ds_5_1 | ds_6_0 |
101
+ +-----------------------+---------------------------------------+-------------+
102
+ | Geometry shader (GS) | gs_4_0, gs_4_1, gs_5_0, gs_5_1 | gs_6_0 |
103
+ +-----------------------+---------------------------------------+-------------+
104
+ | Pixel shader (PS) | ps_4_0, ps_4_1, ps_5_0, ps_5_1 | ps_6_0 |
105
+ +-----------------------+---------------------------------------+-------------+
106
+ | Compute shader (CS) | cs_5_0 (cs_4_0 is mapped onto cs_5_0) | cs_6_0 |
107
+ +-----------------------+---------------------------------------+-------------+
108
+ | Shader library | no support | lib_6_1 |
109
+ +-----------------------+---------------------------------------+-------------+
110
+ | Mesh shader (MS) | no support | ms_6_5 |
111
+ +-----------------------+---------------------------------------+-------------+
112
+ | Amplification shader (AS) | no support | as_6_5 |
113
+ +-----------------------+---------------------------------------+-------------+
106
114
107
115
The DXIL verifier ensures that DXIL conforms to the specified shader model.
108
116
0 commit comments