summaryrefslogtreecommitdiff
path: root/tests/bugs/gh-103.slang.expected
blob: acf3026d9c5e034f5066529e825f805392f99a16 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
result code = 0
standard error = {
}
standard output = {
//
// Generated by Microsoft (R) HLSL Shader Compiler 6.3.9600.16384
//
//
// Buffer Definitions: 
//
// cbuffer C
// {
//
//   float4x4 a;                        // Offset:    0 Size:    64
//   float b;                           // Offset:   64 Size:     4
//
// }
//
//
// Resource Bindings:
//
// Name                                 Type  Format         Dim Slot Elements
// ------------------------------ ---------- ------- ----------- ---- --------
// C                                 cbuffer      NA          NA    0        1
//
//
//
// Input signature:
//
// Name                 Index   Mask Register SysValue  Format   Used
// -------------------- ----- ------ -------- -------- ------- ------
// no Input
//
// Output signature:
//
// Name                 Index   Mask Register SysValue  Format   Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_Target                0   xyzw        0   TARGET   float   xyzw
//
ps_4_0
dcl_constantbuffer cb0[5], immediateIndexed
dcl_output o0.xyzw
mul o0.x, cb0[0].x, cb0[4].x
mul o0.y, cb0[1].x, cb0[4].x
mul o0.z, cb0[2].x, cb0[4].x
mul o0.w, cb0[3].x, cb0[4].x
ret 
// Approximately 5 instruction slots used
}