Skip to content

Commit 9de3926

Browse files
committed
Update Major and Minor version representetion in ShaderModel class
1 parent e4d378f commit 9de3926

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

llvm/docs/DirectX/DXILOpTableGenDesign.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,8 @@ This is represented by the following TableGen class.
116116
.. code-block::
117117
118118
class DXILShaderModel<int major, int minor> {
119-
int MajorAndMinor = !add(!mul(major, 10), minor);
119+
int Major = major;
120+
int Minor = minor;
120121
}
121122
122123
Each of the valid shader models is defined as TableGen records. For

0 commit comments

Comments
 (0)