Skip to content

Commit d3c97c2

Browse files
author
Greg Roth
committed
remove unneeded ifdefed code
Not actually going to fill this part in for scalars
1 parent 9ec8bcc commit d3c97c2

1 file changed

Lines changed: 0 additions & 17 deletions

File tree

tools/clang/test/CodeGenDXIL/hlsl/types/longvec-operators-scalars.hlsl

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -27,23 +27,6 @@ struct Interface {
2727
TYPE scales[10];
2828
};
2929

30-
#if 0
31-
// Requires vector loading support. Enable when available.
32-
RWStructuredBuffer<Interface> Input;
33-
RWStructuredBuffer<Interface> Output;
34-
35-
TYPE g_val;
36-
37-
[shader("compute")]
38-
[numthreads(8,1,1)]
39-
void main(uint GI : SV_GroupIndex) {
40-
assignments(Output[GI].assigned, Input[GI].scales);
41-
Output[GI].arithmeticked = arithmetic(Input[GI].arithmeticked);
42-
Output[GI].logicked = logic(Input[GI].logicked, Input[GI].assigned);
43-
Output[GI].indexed = index(Input[GI].indexed, GI, g_val);
44-
}
45-
#endif
46-
4730
// A mixed-type overload to test overload resolution and mingle different vector element types in ops
4831
// Test assignment operators.
4932
// CHECK-LABEL: define void @"\01?assignments

0 commit comments

Comments
 (0)