#
#asahi-gpu · 2022-12-19 17:02
alyssalevel is provided as a half-float within uniform u5l
#asahi-gpu · 2022-12-19 17:02
alyssayep, that's it.
#asahi-gpu · 2022-12-19 17:00
alyssavalue is 10, maybe that's really u5l
#asahi-gpu · 2022-12-19 17:00
alyssaoh maybe it's getting the lod from a uniform
#asahi-gpu · 2022-12-19 16:58
alyssa"Alyssa, that's the same instruction"
#asahi-gpu · 2022-12-19 16:57
alyssaand lod 1, apparently
#asahi-gpu · 2022-12-19 16:57
alyssa2c: 3185020a0062210020000000 texture_sample 0, 0b00, 0b01100, 0b0, 0b00000, x, 0b01, r1, 0, ts0, ss0, tex_2d, r1_r2, 2, 314
#asahi-gpu · 2022-12-19 16:57
alyssainteresting way of doing lod(0) in a frag shader, yes
#asahi-gpu · 2022-12-19 16:57
alyssa2c: 3185020a0062210020000000 texture_sample 0, 0b00, 0b01100, 0b0, 0b00000, x, 0b01, r1, 0, ts0, ss0, tex_2d, r1_r2, 2, 314
#asahi-gpu · 2022-12-19 16:55
alyssaalso, no uniform branching. bleh
#asahi-gpu · 2022-12-19 16:48
alyssathe TODO version is just the version that unsets bit 26
#asahi-gpu · 2022-12-19 16:47
alyssathe "else" uses 2 device_loads with jmp_exec_none
#asahi-gpu · 2022-12-19 16:47
alyssathe "if" uses a device_load.TODO with no jmp_exec_none
#asahi-gpu · 2022-12-19 16:47
alyssaif (uniform) { load } else { load, load }
#asahi-gpu · 2022-12-19 16:47
alyssaif I have
#asahi-gpu · 2022-12-19 16:45
alyssaif I drop the load and leave only the texture, I do get a jmp_exec_none
#asahi-gpu · 2022-12-19 16:44
alyssaI wonder if there's some sort of predication interaction here
#asahi-gpu · 2022-12-19 16:44
alyssaif I drop the texture, it uses a regular device_load, and it uses a jmp_exec_none
#asahi-gpu · 2022-12-19 16:44
alyssaif (uniform) { load } else { texture }
#asahi-gpu · 2022-12-19 16:44
alyssathis is for
#asahi-gpu · 2022-12-19 16:43
alyssasame in device space
#asahi-gpu · 2022-12-19 16:42
alyssaalso interestingly metal is not inserting jmp_exec_any branches despite memory access in here, hmhmhmhm
#asahi-gpu · 2022-12-19 16:42
alyssaconstant address space, fragment shader, within uniform control flow
#asahi-gpu · 2022-12-19 16:41
alyssai wonder why metal is generating this alternate load in this case
#asahi-gpu · 2022-12-19 16:41
alyssa 1c: 0509400a00c81200 device_load.TODO 0, i32, x, r1, u0_u1, r2, unsigned, lsl 2, 0, 0, 4, 0
#asahi-gpu · 2022-12-19 16:35
alyssasounds good
#asahi-gpu · 2022-12-19 16:20
marcanpushed to asahi-dev
#asahi-gpu · 2022-12-19 16:16
marcanalyssa: I squashed it into the last commit, hope that's what you wanted :p
#asahi-gpu · 2022-12-19 14:45
alyssabut not even compile tested
#asahi-gpu · 2022-12-19 14:45
alyssaif you squash that into asahi/main it should be good enough to ship
#asahi-gpu · 2022-12-19 14:45
alyssamarcan: https://rosenzweig.io/diff
#asahi-gpu · 2022-12-19 12:15
linaalyssa: Nice! ^^
#asahi-gpu · 2022-12-19 04:52
alyssapebkac
#asahi-gpu · 2022-12-19 04:49
alyssaoh you've got to be kidding me.
#asahi-gpu · 2022-12-19 04:49
alyssaUnhandled intrinsic image_store
#asahi-gpu · 2022-12-19 04:49
alyssaTest case 'dEQP-GLES3.functional.pbo.native.clears'..
#asahi-gpu · 2022-12-19 04:27
alyssahonestly a little horrifying
#asahi-gpu · 2022-12-19 04:27
alyssabuffer textures working, including with rgb32 support
#asahi-gpu · 2022-12-19 03:23
alyssanot multisampling big, but
#asahi-gpu · 2022-12-19 03:23
alyssaLol ok
#asahi-gpu · 2022-12-19 03:23
marcan(that said, "push it and see if anyone complains" *is* a valid strategy for mesa-asahi-edge, JFYI)
#asahi-gpu · 2022-12-19 03:23
alyssabut it's a pretty big feature
#asahi-gpu · 2022-12-19 03:23
alyssaI worked out a solution that I'm working on
#asahi-gpu · 2022-12-19 03:22
alyssabut I know it regresses gles3 stuff which means it's possible big gl 2 is regressed too, i haven't done enough testing to know
#asahi-gpu · 2022-12-19 03:22
marcanok
#asahi-gpu · 2022-12-19 03:22
alyssaI don't know if it regresses any actual workloads (i.e. anything that can be hit without overriding versions/extensions)
#asahi-gpu · 2022-12-19 03:22
alyssayeah
#asahi-gpu · 2022-12-19 03:22
marcanplease hold off?
#asahi-gpu · 2022-12-19 03:22
alyssamarcan: ack, please do
#asahi-gpu · 2022-12-19 03:21
marcanalyssa: I haven't pushed last night's package out to most users, I can hold off if you think it regresses something

plus ›