steve-lunarg | 75fd223 | 2016-11-16 13:22:11 -0700 | [diff] [blame] | 1 | hlsl.identifier.sample.frag |
John Kessenich | 6fa1764 | 2017-04-07 15:33:08 -0600 | [diff] [blame^] | 2 | Shader version: 500 |
steve-lunarg | 75fd223 | 2016-11-16 13:22:11 -0700 | [diff] [blame] | 3 | gl_FragCoord origin is upper left |
| 4 | 0:? Sequence |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 5 | 0:9 Function Definition: sample(i1; ( temp int) |
steve-lunarg | 75fd223 | 2016-11-16 13:22:11 -0700 | [diff] [blame] | 6 | 0:9 Function Parameters: |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 7 | 0:9 'x' ( in int) |
steve-lunarg | 75fd223 | 2016-11-16 13:22:11 -0700 | [diff] [blame] | 8 | 0:? Sequence |
| 9 | 0:9 Branch: Return with expression |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 10 | 0:9 'x' ( in int) |
| 11 | 0:12 Function Definition: @main( ( temp 4-component vector of float) |
steve-lunarg | 75fd223 | 2016-11-16 13:22:11 -0700 | [diff] [blame] | 12 | 0:12 Function Parameters: |
| 13 | 0:? Sequence |
| 14 | 0:15 Sequence |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 15 | 0:15 move second child to first child ( temp 4-component vector of float) |
| 16 | 0:15 'sample' ( temp 4-component vector of float) |
steve-lunarg | a64ed3e | 2016-12-18 17:51:14 -0700 | [diff] [blame] | 17 | 0:? Constant: |
| 18 | 0:? 3.000000 |
| 19 | 0:? 4.000000 |
| 20 | 0:? 5.000000 |
| 21 | 0:? 6.000000 |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 22 | 0:17 Branch: Return with expression |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 23 | 0:17 vector swizzle ( temp 4-component vector of float) |
| 24 | 0:17 'sample' ( temp 4-component vector of float) |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 25 | 0:17 Sequence |
| 26 | 0:17 Constant: |
| 27 | 0:17 0 (const int) |
| 28 | 0:17 Constant: |
| 29 | 0:17 1 (const int) |
| 30 | 0:17 Constant: |
| 31 | 0:17 2 (const int) |
| 32 | 0:17 Constant: |
| 33 | 0:17 3 (const int) |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 34 | 0:12 Function Definition: main( ( temp void) |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 35 | 0:12 Function Parameters: |
| 36 | 0:? Sequence |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 37 | 0:12 move second child to first child ( temp 4-component vector of float) |
| 38 | 0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float) |
| 39 | 0:12 Function Call: @main( ( temp 4-component vector of float) |
steve-lunarg | 75fd223 | 2016-11-16 13:22:11 -0700 | [diff] [blame] | 40 | 0:? Linker Objects |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 41 | 0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float) |
steve-lunarg | 75fd223 | 2016-11-16 13:22:11 -0700 | [diff] [blame] | 42 | |
| 43 | |
| 44 | Linked fragment stage: |
| 45 | |
| 46 | |
John Kessenich | 6fa1764 | 2017-04-07 15:33:08 -0600 | [diff] [blame^] | 47 | Shader version: 500 |
steve-lunarg | 75fd223 | 2016-11-16 13:22:11 -0700 | [diff] [blame] | 48 | gl_FragCoord origin is upper left |
| 49 | 0:? Sequence |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 50 | 0:9 Function Definition: sample(i1; ( temp int) |
steve-lunarg | 75fd223 | 2016-11-16 13:22:11 -0700 | [diff] [blame] | 51 | 0:9 Function Parameters: |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 52 | 0:9 'x' ( in int) |
steve-lunarg | 75fd223 | 2016-11-16 13:22:11 -0700 | [diff] [blame] | 53 | 0:? Sequence |
| 54 | 0:9 Branch: Return with expression |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 55 | 0:9 'x' ( in int) |
| 56 | 0:12 Function Definition: @main( ( temp 4-component vector of float) |
steve-lunarg | 75fd223 | 2016-11-16 13:22:11 -0700 | [diff] [blame] | 57 | 0:12 Function Parameters: |
| 58 | 0:? Sequence |
| 59 | 0:15 Sequence |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 60 | 0:15 move second child to first child ( temp 4-component vector of float) |
| 61 | 0:15 'sample' ( temp 4-component vector of float) |
steve-lunarg | a64ed3e | 2016-12-18 17:51:14 -0700 | [diff] [blame] | 62 | 0:? Constant: |
| 63 | 0:? 3.000000 |
| 64 | 0:? 4.000000 |
| 65 | 0:? 5.000000 |
| 66 | 0:? 6.000000 |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 67 | 0:17 Branch: Return with expression |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 68 | 0:17 vector swizzle ( temp 4-component vector of float) |
| 69 | 0:17 'sample' ( temp 4-component vector of float) |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 70 | 0:17 Sequence |
| 71 | 0:17 Constant: |
| 72 | 0:17 0 (const int) |
| 73 | 0:17 Constant: |
| 74 | 0:17 1 (const int) |
| 75 | 0:17 Constant: |
| 76 | 0:17 2 (const int) |
| 77 | 0:17 Constant: |
| 78 | 0:17 3 (const int) |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 79 | 0:12 Function Definition: main( ( temp void) |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 80 | 0:12 Function Parameters: |
| 81 | 0:? Sequence |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 82 | 0:12 move second child to first child ( temp 4-component vector of float) |
| 83 | 0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float) |
| 84 | 0:12 Function Call: @main( ( temp 4-component vector of float) |
steve-lunarg | 75fd223 | 2016-11-16 13:22:11 -0700 | [diff] [blame] | 85 | 0:? Linker Objects |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 86 | 0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float) |
steve-lunarg | 75fd223 | 2016-11-16 13:22:11 -0700 | [diff] [blame] | 87 | |
| 88 | // Module Version 10000 |
| 89 | // Generated by (magic number): 80001 |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 90 | // Id's are bound by 33 |
steve-lunarg | 75fd223 | 2016-11-16 13:22:11 -0700 | [diff] [blame] | 91 | |
| 92 | Capability Shader |
| 93 | 1: ExtInstImport "GLSL.std.450" |
| 94 | MemoryModel Logical GLSL450 |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 95 | EntryPoint Fragment 4 "main" 31 |
steve-lunarg | 75fd223 | 2016-11-16 13:22:11 -0700 | [diff] [blame] | 96 | ExecutionMode 4 OriginUpperLeft |
John Kessenich | 6fa1764 | 2017-04-07 15:33:08 -0600 | [diff] [blame^] | 97 | Source HLSL 500 |
steve-lunarg | 75fd223 | 2016-11-16 13:22:11 -0700 | [diff] [blame] | 98 | Name 4 "main" |
| 99 | Name 10 "sample(i1;" |
| 100 | Name 9 "x" |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 101 | Name 15 "@main(" |
| 102 | Name 21 "sample" |
| 103 | Name 31 "@entryPointOutput" |
| 104 | Decorate 31(@entryPointOutput) Location 0 |
steve-lunarg | 75fd223 | 2016-11-16 13:22:11 -0700 | [diff] [blame] | 105 | 2: TypeVoid |
| 106 | 3: TypeFunction 2 |
| 107 | 6: TypeInt 32 1 |
| 108 | 7: TypePointer Function 6(int) |
| 109 | 8: TypeFunction 6(int) 7(ptr) |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 110 | 12: TypeFloat 32 |
| 111 | 13: TypeVector 12(float) 4 |
| 112 | 14: TypeFunction 13(fvec4) |
| 113 | 20: TypePointer Function 13(fvec4) |
| 114 | 22: 12(float) Constant 1077936128 |
| 115 | 23: 12(float) Constant 1082130432 |
| 116 | 24: 12(float) Constant 1084227584 |
| 117 | 25: 12(float) Constant 1086324736 |
| 118 | 26: 13(fvec4) ConstantComposite 22 23 24 25 |
| 119 | 30: TypePointer Output 13(fvec4) |
| 120 | 31(@entryPointOutput): 30(ptr) Variable Output |
steve-lunarg | 75fd223 | 2016-11-16 13:22:11 -0700 | [diff] [blame] | 121 | 4(main): 2 Function None 3 |
| 122 | 5: Label |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 123 | 32: 13(fvec4) FunctionCall 15(@main() |
| 124 | Store 31(@entryPointOutput) 32 |
steve-lunarg | 75fd223 | 2016-11-16 13:22:11 -0700 | [diff] [blame] | 125 | Return |
| 126 | FunctionEnd |
| 127 | 10(sample(i1;): 6(int) Function None 8 |
| 128 | 9(x): 7(ptr) FunctionParameter |
| 129 | 11: Label |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 130 | 17: 6(int) Load 9(x) |
| 131 | ReturnValue 17 |
| 132 | FunctionEnd |
| 133 | 15(@main(): 13(fvec4) Function None 14 |
| 134 | 16: Label |
| 135 | 21(sample): 20(ptr) Variable Function |
| 136 | Store 21(sample) 26 |
| 137 | 27: 13(fvec4) Load 21(sample) |
| 138 | ReturnValue 27 |
steve-lunarg | 75fd223 | 2016-11-16 13:22:11 -0700 | [diff] [blame] | 139 | FunctionEnd |