Skip to content

Commit bb44eef

Browse files
Joao SaffranJoao Saffran
authored andcommitted
fix test
1 parent 4abb40d commit bb44eef

File tree

2 files changed

+1
-39
lines changed

2 files changed

+1
-39
lines changed

llvm/test/CodeGen/DirectX/rootsignature-validation-fail-cbuffer.ll

Lines changed: 0 additions & 34 deletions
This file was deleted.

llvm/test/CodeGen/DirectX/rootsignature-validation-fail-constants.ll

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,12 @@
11
; RUN: not opt -S -passes='dxil-post-optimization-validation' -mtriple=dxil-pc-shadermodel6.6-compute %s 2>&1 | FileCheck %s
2-
; CHECK: error: register CBuffer (space=666, register=2) does not have a binding in the Root Signature
3-
; Root Signature(RootConstants(num32BitConstants=4, b2))
2+
; CHECK: error: register CBV (space=666, register=2) does not have a binding in the Root Signature
43

54
%__cblayout_CB = type <{ float }>
65

76
@CB.str = private unnamed_addr constant [3 x i8] c"CB\00", align 1
87

98
define void @CSMain() "hlsl.shader"="compute" {
109
entry:
11-
; cbuffer CB : register(b2, space666) {
12-
; float a;
13-
; }
1410
%CB = tail call target("dx.CBuffer", target("dx.Layout", %__cblayout_CB, 4, 0)) @llvm.dx.resource.handlefrombinding(i32 666, i32 2, i32 1, i32 0, i1 false, ptr nonnull @CB.str)
1511
ret void
1612
}

0 commit comments

Comments
 (0)