Skip to content

Instantly share code, notes, and snippets.

View exjam's full-sized avatar
🐢
is this facebook now

James exjam

🐢
is this facebook now
  • London, United Kingdom
View GitHub Profile
.text:03ABBA74 .globl start
.text:03ABBA74 start:
.text:03ABBA74
.text:03ABBA74 .set var_C, -0xC
.text:03ABBA74 .set var_8, -8
.text:03ABBA74 .set var_4, -4
.text:03ABBA74 .set arg_4, 4
.text:03ABBA74
.text:03ABBA74 mflr r0
.text:03ABBA78 stwu r1, -0x18(r1)
glCreateProgram
glCreateShader
glShaderSource
glShaderSource
glCompileShader
glCompileShader
glAttachShader
glAttachShader
glLinkProgram
glGetUniformLocation
0: LOAD_ARG r1, 0
1: LOAD_ARG r2, 1
2: GET_ALIAS r3, a3
3: SLTSI r4, r3, 0
r3: a3
4: SGTSI r5, r3, 0
r3: a3
5: SEQI r6, r3, 0
r3: a3
6: GET_ALIAS r7, a15
.text:03ABBAA0 cmpwi r3, 0
.text:03ABBAA4 beq loc_3ABBAC0
.text:03ABBAA8 lis r4, sub_2B43BD4@h
.text:03ABBAAC lis r5, sub_3ABB9F0@ha
.text:03ABBAB0 addi r4, r4, sub_2B43BD4@l
.text:03ABBAB4 li r3, 2
.text:03ABBAB8 addi r5, r5, sub_3ABB9F0@l
.text:03ABBABC tw 31, r30, r0
VertexShaderHeader
index = 0
size = 312
mode = UniformRegister
uniformBlockCount = 0
uniformVarCount = 1
uniformVars[0]
name = u_offset
type = Float4
count = 1
VertexShaderHeader
index = 0
size = 416
mode = UniformRegister
uniformBlockCount = 0
uniformVarCount = 1
uniformVars[0]
name = uUser
type = Matrix4x4
count = 1
VertexShaderHeader
index = 0
size = 312
mode = UniformRegister
uniformBlockCount = 0
uniformVarCount = 1
uniformVars[0]
name = u_offset
type = Float4
count = 1
VertexShaderHeader
index = 0
size = 312
mode = UniformRegister
uniformBlocks = 0
uniformVars = 1
initVars = 0
loopVars = 0
samplerVars = 0
attribVars = 2
GX2VertexShader:
address: 0x13C5A600
size: 1696
mode: UniformRegister
uniformBlockCount: 0
uniformVarCount: 12
Var 0
name: uFrameSpec
type: Int
count: 1
#include "gpu_utilities.h"
#include "latte_constants.h"
#include "pm4_buffer.h"
#include "pm4_capture.h"
#include "pm4_format.h"
#include "pm4_packets.h"
#include "pm4_reader.h"
#include <array>
#include <common/byte_swap.h>
#include <common/log.h>