#
✕ nick:DarkShadow44
#asahi-gpu · 2021-03-23 21:15
DarkShadow44anyways, I know have setup enough to upload arbitrary programs(*) to the GPU and run them
#asahi-gpu · 2021-03-23 21:15
DarkShadow44anyways, I know have setup enough to upload arbitrary programs(*) to the GPU and run them
#asahi-gpu · 2021-03-23 21:14
DarkShadow44then again, it doesn't matter too much which registers are used for what, since we can make up our own conventions
#asahi-gpu · 2021-03-23 21:14
DarkShadow44then again, it doesn't matter too much which registers are used for what, since we can make up our own conventions
#asahi-gpu · 2021-03-23 21:13
DarkShadow44that does make sense. Maybe the mantle calling convention just starts function parameters from r20 upwards...
#asahi-gpu · 2021-03-23 21:13
DarkShadow44that does make sense. Maybe the mantle calling convention just starts function parameters from r20 upwards...
#asahi-gpu · 2021-03-23 21:11
DarkShadow44makes sense, thanks
#asahi-gpu · 2021-03-23 21:11
DarkShadow44makes sense, thanks
#asahi-gpu · 2021-03-23 21:10
DarkShadow44though I'm not entirely sure why the main GPU program expects them starting from u0_u1 but the .metallib expects them from r20_r21
#asahi-gpu · 2021-03-23 21:10
DarkShadow44though I'm not entirely sure why the main GPU program expects them starting from u0_u1 but the .metallib expects them from r20_r21
#asahi-gpu · 2021-03-23 21:08
DarkShadow44Yeah, I expected something like that
#asahi-gpu · 2021-03-23 21:08
DarkShadow44Yeah, I expected something like that
#asahi-gpu · 2021-03-23 20:48
DarkShadow44hmm maybe the adress of the buffer on the gpu
#asahi-gpu · 2021-03-23 20:48
DarkShadow44hmm maybe the adress of the buffer on the gpu
#asahi-gpu · 2021-03-23 20:37
DarkShadow44hmm maybe the adress of the buffer on the gpu
#asahi-gpu · 2021-03-23 20:37
DarkShadow44hmm maybe the adress of the buffer on the gpu
#asahi-gpu · 2021-03-23 20:02
DarkShadow44I think I understand most of the others, but that currently trips me up. The GPU just softfaults, and I guess my lack of understanding of this part is to blame
#asahi-gpu · 2021-03-23 20:02
DarkShadow44I think I understand most of the others, but that currently trips me up. The GPU just softfaults, and I guess my lack of understanding of this part is to blame
#asahi-gpu · 2021-03-23 20:02
DarkShadow44do you know what exactly u0_u1 do here?
#asahi-gpu · 2021-03-23 20:02
DarkShadow44do you know what exactly u0_u1 do here?
#asahi-gpu · 2021-03-23 20:02
DarkShadow44device_load 1, 0, 0, 4, 0, i32, quad, r12_r13_r14_r15, u0_u1, r32, unsigned, lsl 2
#asahi-gpu · 2021-03-23 20:02
DarkShadow44device_load 1, 0, 0, 4, 0, i32, quad, r12_r13_r14_r15, u0_u1, r32, unsigned, lsl 2
#asahi-gpu · 2021-03-23 20:02
DarkShadow44Assuming the following disassembly from applegpu/disassembly.py:
#asahi-gpu · 2021-03-23 20:02
DarkShadow44Assuming the following disassembly from applegpu/disassembly.py:
#asahi-gpu · 2021-03-21 17:32
DarkShadow44on your github it's still maked TODO(), that's why I ask
#asahi-gpu · 2021-03-21 17:32
DarkShadow44on your github it's still maked TODO(), that's why I ask
#asahi-gpu · 2021-03-21 17:31
DarkShadow44if you don't have anything, maybe I could write something up?
#asahi-gpu · 2021-03-21 17:31
DarkShadow44if you don't have anything, maybe I could write something up?
#asahi-gpu · 2021-03-21 17:31
DarkShadow44Because for simplicity reason, I need those first to start with proper testing
#asahi-gpu · 2021-03-21 17:31
DarkShadow44Because for simplicity reason, I need those first to start with proper testing
#asahi-gpu · 2021-03-21 17:31
DarkShadow44dougall: Do you already have documentation prepared to device_store/device_load?
#asahi-gpu · 2021-03-21 17:31
DarkShadow44dougall: Do you already have documentation prepared to device_store/device_load?
#asahi-gpu · 2021-03-21 04:16
DarkShadow44dougall: Is there a specific instruction where I could help fill in the gaps? As a beginner, and so.
#asahi-gpu · 2021-03-21 04:16
DarkShadow44dougall: Is there a specific instruction where I could help fill in the gaps? As a beginner, and so.
#asahi-gpu · 2021-03-21 02:32
DarkShadow44probably won't need the compiler snipped, since I'm using XCode
#asahi-gpu · 2021-03-21 02:32
DarkShadow44probably won't need the compiler snipped, since I'm using XCode
#asahi-gpu · 2021-03-21 02:31
DarkShadow44ah thanks, I kinda missed that
#asahi-gpu · 2021-03-21 02:31
DarkShadow44ah thanks, I kinda missed that
#asahi-gpu · 2021-03-21 02:22
DarkShadow44dougal: may I ask how you gor your shader-macho file?
#asahi-gpu · 2021-03-21 02:22
DarkShadow44dougal: may I ask how you gor your shader-macho file?
#asahi-gpu · 2021-03-21 02:22
DarkShadow44my I ask how you got your shader mdougall: acho?
#asahi-gpu · 2021-03-21 02:22
DarkShadow44my I ask how you got your shader mdougall: acho?
#asahi-gpu · 2021-03-21 02:21
DarkShadow44they are definitely not macho, the magic is different
#asahi-gpu · 2021-03-21 02:21
DarkShadow44they are definitely not macho, the magic is different
#asahi-gpu · 2021-03-21 02:21
DarkShadow44hm, according to what I found, metallib seems to be LLVM IR code
#asahi-gpu · 2021-03-21 02:21
DarkShadow44hm, according to what I found, metallib seems to be LLVM IR code
#asahi-gpu · 2021-03-21 01:31
DarkShadow44not quite sure how the caching/threads work yet
#asahi-gpu · 2021-03-21 01:31
DarkShadow44not quite sure how the caching/threads work yet
#asahi-gpu · 2021-03-21 01:31
DarkShadow44are shaders usually uploaded to the driver as source code? Or why is there a generation difference?
#asahi-gpu · 2021-03-21 01:31
DarkShadow44are shaders usually uploaded to the driver as source code? Or why is there a generation difference?

plus ›