Skip to content

Commit 54e0745

Browse files
authored
Set latest release to SM6.9 (#7990)
The latest release information needs to be updated in order for SM6.9 shaders to use real hashes instead of preview hashes.
1 parent b06a58d commit 54e0745

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

include/dxc/DXIL/DxilShaderModel.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class ShaderModel {
4141
// clang-format on
4242
// VALRULE-TEXT:BEGIN
4343
static const unsigned kHighestReleasedMajor = 6;
44-
static const unsigned kHighestReleasedMinor = 8;
44+
static const unsigned kHighestReleasedMinor = 9;
4545
// VALRULE-TEXT:END
4646

4747
static const unsigned kOfflineMinor = 0xF;

tools/clang/test/LitDXILValidation/invalid-experimental-dxil-6-10-op-on-6-9.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
target datalayout = "e-m:e-p:32:32-i1:32-i8:8-i16:16-i32:32-i64:64-f16:16-f32:32-f64:64-n8:16:32:64"
44
target triple = "dxil-ms-dx"
55

6-
; CHECK: Function: main: error: Opcode ExperimentalNop not valid in shader model cs_6_9.
6+
; CHECK: Function: main: error: Use of experimental DXILOpCode requires an experimental shader model.
77
; CHECK-NEXT: note: at 'call void @dx.op.nop(i32 -2147483648)' in block '#0' of function 'main'.
88
; CHECK-NEXT: Function: main: error: Entry function performs some operation that is incompatible with the shader stage or other entry properties. See other errors for details.
99
; CHECK-NEXT: Function: main: error: Function uses features incompatible with the shader model.

utils/version/latest-release.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"version": {
33
"major": "1",
4-
"minor": "8",
5-
"rev": "2505"
4+
"minor": "9",
5+
"rev": "2601"
66
},
7-
"sha": "0fd79eba6bb23f50ec21a7a7daeee3614bebe12b"
7+
"sha": "b06a58d960fb0c9313cda10d17cc984a610b880f"
88
}

0 commit comments

Comments
 (0)