Skip to content

Instantly share code, notes, and snippets.

@Triang3l
Created December 18, 2018 20:56
Show Gist options
  • Save Triang3l/9c846da12755bcd0898d9c45f807df96 to your computer and use it in GitHub Desktop.
Save Triang3l/9c846da12755bcd0898d9c45f807df96 to your computer and use it in GitHub Desktop.
G> 00000004 Generated vertex shader (948b) - hash 260BFB61343A4703:
/* 0.0 */ exec
/* 17 */ vfetch_full r1, r0.x, vf1, DataFormat=FMT_32_32_32_32_FLOAT, Stride=20, Signed=true, NumFormat=integer, PrefetchCount=8
/* 18 */ vfetch_mini r10.yxwz, Offset=4, DataFormat=FMT_16_16_16_16_FLOAT, Signed=true, NumFormat=integer
/* 19 */ vfetch_mini r9.yxwz, Offset=6, DataFormat=FMT_16_16_16_16
/* 20 */ vfetch_full r8.yxwz, r0.x, vf1, Offset=8, DataFormat=FMT_16_16_16_16, Stride=20, PrefetchCount=8
/* 21 */ vfetch_mini r4.yxwz, Offset=10, DataFormat=FMT_16_16_16_16
/* 22 */ vfetch_mini r3.yxwz, Offset=12, DataFormat=FMT_16_16_16_16_FLOAT, Signed=true, NumFormat=integer
/* 0.1 */ exec
/* 23 */ vfetch_mini r7.yx__, Offset=14, DataFormat=FMT_16_16_FLOAT, Signed=true, NumFormat=integer
/* 24 */ vfetch_mini r0.__yx, Offset=15, DataFormat=FMT_16_16
/* 25 */ vfetch_full r6.xyz_, r0.x, vf1, Offset=16, DataFormat=FMT_2_10_10_10, Stride=20, Signed=true, PrefetchCount=3
/* 26 */ vfetch_mini r5.zyxw, Offset=17, DataFormat=FMT_8_8_8_8
/* 27 */ vfetch_mini r2.zyxw, Offset=18, DataFormat=FMT_8_8_8_8
/* 28 */ vfetch_full r7.__yx, r0.x, vf2, DataFormat=FMT_16_16, Stride=1, NumFormat=integer
/* 1.0 */ exec
/* 29 */ serialize
mad r0.x___, r7.wwww, c255.zzzz, r7.zzzz
/* 30 */ truncs r0._y__, r0.x
/* 31 */ mad r0.x___, r0.yyyy, c153.xxxx, c153.yyyy
/* 32 */ truncs r0.x___, r0.x
/* 1.1 */ alloc export = 1
/* 2.0 */ exec
/* 33 */ mad eA, r0.xxxx, c255.xyxx, c152
/* 34 */ max eM0, r1, r1
/* 35 */ mad r0.x___, r0.yyyy, c155.xxxx, c155.yyyy
/* 36 */ truncs r0.x___, r0.x
/* 2.1 */ alloc export = 1
/* 3.0 */ exec
/* 37 */ mad eA, r0.xxxx, c255.xyxx, c154
/* 38 */ max eM0, r10, r10
/* 39 */ mad r0.x___, r0.yyyy, c157.xxxx, c157.yyyy
/* 40 */ truncs r0.x___, r0.x
/* 3.1 */ alloc export = 1
/* 4.0 */ exec
/* 41 */ mad eA, r0.xxxx, c255.xyxx, c156
/* 42 */ max eM0, r9, r9
/* 43 */ mad r0.x___, r0.yyyy, c159.xxxx, c159.yyyy
/* 44 */ truncs r0.x___, r0.x
/* 4.1 */ alloc export = 1
/* 5.0 */ exec
/* 45 */ mad eA, r0.xxxx, c255.xyxx, c158
/* 46 */ max eM0, r8, r8
/* 47 */ mad r0.x___, r0.yyyy, c161.xxxx, c161.yyyy
/* 48 */ truncs r0.x___, r0.x
/* 5.1 */ alloc export = 1
/* 6.0 */ exec
/* 49 */ mad eA, r0.xxxx, c255.xyxx, c160
/* 50 */ max eM0, r4, r4
/* 51 */ mad r0.x___, r0.yyyy, c163.xxxx, c163.yyyy
/* 52 */ truncs r0.x___, r0.x
/* 6.1 */ alloc export = 1
/* 7.0 */ exec
/* 53 */ mad eA, r0.xxxx, c255.xyxx, c162
/* 54 */ max eM0, r3, r3
/* 55 */ mad r0.x___, r0.yyyy, c165.xxxx, c165.yyyy
/* 56 */ truncs r0.x___, r0.x
/* 7.1 */ alloc export = 1
/* 8.0 */ exec
/* 57 */ mad eA, r0.xxxx, c255.xyxx, c164
/* 58 */ max eM0.xy00, r7.xyyy, r7.xyyy
/* 59 */ mad r0.x___, r0.yyyy, c167.xxxx, c167.yyyy
/* 60 */ truncs r0.x___, r0.x
/* 8.1 */ alloc export = 1
/* 9.0 */ exec
/* 61 */ mad eA, r0.xxxx, c255.xyxx, c166
/* 62 */ max eM0.xy00, r0.zwww, r0.zwww
/* 63 */ mad r0.x___, r0.yyyy, c169.xxxx, c169.yyyy
/* 64 */ truncs r0.x___, r0.x
/* 9.1 */ alloc export = 1
/* 10.0 */ exec
/* 65 */ mad eA, r0.xxxx, c255.xyxx, c168
/* 66 */ max eM0.xyz0, r6.xyzz, r6.xyzz
/* 67 */ mad r0.x___, r0.yyyy, c171.xxxx, c171.yyyy
/* 68 */ truncs r0.x___, r0.x
/* 10.1 */ alloc export = 1
/* 11.0 */ exec
/* 69 */ mad eA, r0.xxxx, c255.xyxx, c170
/* 70 */ max eM0, r5, r5
/* 71 */ mad r0.x___, r0.yyyy, c173.xxxx, c173.yyyy
/* 72 */ truncs r0.x___, r0.x
/* 11.1 */ alloc export = 1
/* 12.0 */ exec
/* 73 */ mad eA, r0.xxxx, c255.xyxx, c172
/* 74 */ max eM0, r2, r2
/* 12.1 */ alloc export = 1
/* 13.0 */ exec
/* 75 */ mad eA, c32.yyyy, c32.yyyy, c32.yyyy
/* 13.1 */ alloc export = 1
/* 14.0 */ exec
/* 76 */ mad eA, c32.zzzz, c32.zzzz, c32.zzzz
/* 14.1 */ alloc position
/* 15.0 */ exec
/* 77 */ sgt oPos, -r_abs[0].xxxx, c255.xxxx
/* 15.1 */ alloc interpolators
/* 16.0 */ exece
/* 16.1 */ cnop
/*
G> 00000004 c152 415D3B00 4B000000 4B072602 4B008C00
G> 00000004 c154 415D3B00 4B000000 4B072001 4B011800
G> 00000004 c156 415D3B00 4B000000 4B001A01 4B011800
G> 00000004 c158 415D3B00 4B000000 4B001A01 4B011800
G> 00000004 c160 415D3B00 4B000000 4B001A01 4B011800
G> 00000004 c162 415D3B00 4B000000 4B072001 4B011800
G> 00000004 c164 415D3B00 4B000000 4B071F01 4B023000
G> 00000004 c166 415D3B00 4B000000 4B001901 4B023000
G> 00000004 c168 415D3B00 4B000000 4B010702 4B023000
G> 00000004 c170 415D3B00 4B000000 4B080602 4B023000
G> 00000004 c172 415D3B00 4B000000 4B080602 4B023000
G> 00000004 c32 7FC00000 00000000 00000000 7FC00000
*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment