#
#asahi-gpu · 2023-08-30 22:00
alyssaAdded some more patches.. some of them are hacks in their current form (just trying to scope out what we're missing) but around now ~9.8fps
#asahi-gpu · 2023-08-30 21:49
i509vcb maxDepth: float = 1
#asahi-gpu · 2023-08-30 21:49
i509vcb minDepth: float = 0
#asahi-gpu · 2023-08-30 21:49
i509vcb height: float = -720
#asahi-gpu · 2023-08-30 21:49
i509vcb width: float = 1280
#asahi-gpu · 2023-08-30 21:49
i509vcb y: float = 720
#asahi-gpu · 2023-08-30 21:49
i509vcb x: float = 0
#asahi-gpu · 2023-08-30 21:49
i509vcb pViewports[0]: const VkViewport = 0xfffff8571848:
#asahi-gpu · 2023-08-30 21:49
i509vcb pViewports: const VkViewport* = 0xfffff8571848
#asahi-gpu · 2023-08-30 21:49
i509vcb viewportCount: uint32_t = 1
#asahi-gpu · 2023-08-30 21:49
i509vcb firstViewport: uint32_t = 0
#asahi-gpu · 2023-08-30 21:49
i509vcb commandBuffer: VkCommandBuffer = 0xaaab67735310
#asahi-gpu · 2023-08-30 21:49
i509vcbLooking at the API dump we get this:
#asahi-gpu · 2023-08-30 21:49
i509vcbvkCmdSetViewport(commandBuffer, firstViewport, viewportCount, pViewports) returns void:
#asahi-gpu · 2023-08-30 21:12
alyssaNice
#asahi-gpu · 2023-08-30 21:07
i509vcbFixing the negative viewport thing apparently was enough to run an iced app (although a simple one)
#asahi-gpu · 2023-08-30 20:56
alyssa83%, i'll take it!
#asahi-gpu · 2023-08-30 20:56
alyssa(9.5fps)
#asahi-gpu · 2023-08-30 20:54
alyssawith the heuristic tuned a bit, 67fps
#asahi-gpu · 2023-08-30 20:48
alyssa79% of the way there, lol
#asahi-gpu · 2023-08-30 20:48
alyssaor 9.1fps at 4K
#asahi-gpu · 2023-08-30 20:46
alyssaooh, and with break_if predicated properly, up to 64fps
#asahi-gpu · 2023-08-30 20:43
i509vcbyes that was the issue
#asahi-gpu · 2023-08-30 20:38
i509vcbYou have an assert in gallium which forbids min_x > min_y, is that a hardware limitation?
#asahi-gpu · 2023-08-30 20:37
i509vcbScissor: min x: 0 min y: 720 max x: 1280 max y: 0
#asahi-gpu · 2023-08-30 20:37
i509vcbhmm common code gives me this:
#asahi-gpu · 2023-08-30 20:35
alyssa(that's almost playable)
#asahi-gpu · 2023-08-30 20:31
alyssaa bit more usefully, getting 54fps for 2x
#asahi-gpu · 2023-08-30 20:30
alyssa53% slower frametime than macOS, yeet
#asahi-gpu · 2023-08-30 20:29
alyssaSo... 65% of the way there are something? :p
#asahi-gpu · 2023-08-30 20:29
alyssaTarget is 11.5fps (what I measured on macOS)
#asahi-gpu · 2023-08-30 20:29
i509vcbVulkan doesn't set enable on REGION_CLIP, though that doesn't seem to be the issue
#asahi-gpu · 2023-08-30 20:29
alyssayes
#asahi-gpu · 2023-08-30 20:29
i509vcbthis looks fine?
#asahi-gpu · 2023-08-30 20:29
i509vcb Scale Z: 1.000000
#asahi-gpu · 2023-08-30 20:29
i509vcb Translate Z: 0.000000
#asahi-gpu · 2023-08-30 20:29
i509vcb Scale Y: -360.000000
#asahi-gpu · 2023-08-30 20:29
i509vcb Translate Y: 360.000000
#asahi-gpu · 2023-08-30 20:29
i509vcb Scale X: 640.000000
#asahi-gpu · 2023-08-30 20:29
i509vcb Translate X: 640.000000
#asahi-gpu · 2023-08-30 20:29
i509vcbViewport
#asahi-gpu · 2023-08-30 20:28
alyssawas like 4.5fps, so this is great progress
#asahi-gpu · 2023-08-30 20:28
alyssawith my wip branch, dolphin ubers @ 4k is up to 7.5fps
#asahi-gpu · 2023-08-30 20:27
alyssa--
#asahi-gpu · 2023-08-30 19:34
alyssafor the VIEWPORT no
#asahi-gpu · 2023-08-30 19:34
alyssafor the SCISSOR yes
#asahi-gpu · 2023-08-30 19:25
i509vcbScale gets passed through fabsf
#asahi-gpu · 2023-08-30 19:21
alyssalook at agx_get_scissor_extents
#asahi-gpu · 2023-08-30 19:21
alyssaI thought so
#asahi-gpu · 2023-08-30 19:21
alyssaI don't remember

plus ›