You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+4-4
Original file line number
Diff line number
Diff line change
@@ -376,8 +376,8 @@ enum class gltess_spacing_t : unsigned {
376
376
377
377
Circle supports DXIL constructs with a few new attributes:
378
378
379
-
* `dxil::patch_constant(f)` - Tessellation control shaders/hull shaders may set the `gltesc_LevelInner` and `gltesc_LevelOuter` variables from a special patch constant function, which is invoked once per patch. This is mandatory for DXIL shaders and optional for SPIR-V shaders.
380
-
* `dxil::max_tess_factor(factor)` - Hull shaders may specify a max tessellation factor, up to 64. DXIL only.
379
+
* `[[dxil::patch_constant(f)]]` - Tessellation control shaders/hull shaders may set the `gltesc_LevelInner` and `gltesc_LevelOuter` variables from a special patch constant function, which is invoked once per patch. This is mandatory for DXIL shaders and optional for SPIR-V shaders.
380
+
* `[[dxil::max_tess_factor(factor)]]` - Hull shaders may specify a max tessellation factor, up to 64. DXIL only.
381
381
382
382
### Interface attributes
383
383
@@ -467,8 +467,8 @@ There are some mutually-exclusive auxiliary modifiers:
467
467
*`[[spirv::noperspective]] and [[spirv::flat]]` - Control interpolation of shader stage attributes. Use at most one of these.
468
468
*`[[spirv::patch]]`, `[[spirv::centroid]]` and `[[spirv::sample]]` - Use at most one of these.
469
469
470
-
*`dxil::semantic(name)` - Identifies a semantic name to an `in` or `out` interface variable. A `spirv::location` attribute cannot be declared for the same variable. Special variables starting with "SV_" are not supported with this attribute.
471
-
*`dxil::semantic(name, index)` - The two-operand version is easier to specialize. The string name identifies the element without an index. The index operand may be any constant expression, including one dependent on a template parameter. During instantiation, the integer index is evaluated, turned into a string, and concatenated with the preceding name.
470
+
*`[[dxil::semantic(name)]]` - Identifies a semantic name to an `in` or `out` interface variable. A `spirv::location` attribute cannot be declared for the same variable. Special variables starting with "SV_" are not supported with this attribute.
471
+
*`[[dxil::semantic(name, index)]]` - The two-operand version is easier to specialize. The string name identifies the element without an index. The index operand may be any constant expression, including one dependent on a template parameter. During instantiation, the integer index is evaluated, turned into a string, and concatenated with the preceding name.
0 commit comments