mesamatrix icon indicating copy to clipboard operation
mesamatrix copied to clipboard

add dzn, panvk & pvr

Open 1ace opened this issue 2 years ago • 3 comments

I've added these drivers to features.txt in this MR, but it hasn't been merged yet, so don't merge this one either for now :stuck_out_tongue_winking_eye:

Closes https://github.com/MightyCreak/mesamatrix/issues/235

1ace avatar Jul 28 '22 19:07 1ace

Oh btw, I've put dzn in the "software" vendor, but maybe you'd rather distinguish VK-on-CPU from VK-on-D3D12 and make them separate categories?

1ace avatar Jul 28 '22 19:07 1ace

is VK-on-D312-Warp a thing? :thinking:

sehraf avatar Jul 28 '22 19:07 sehraf

Oh btw, I've put dzn in the "software" vendor, but maybe you'd rather distinguish VK-on-CPU from VK-on-D3D12 and make them separate categories?

Thinking about it more, I've split them, putting dzn into a new "Layered" "vendor".

is VK-on-D312-Warp a thing? :thinking:

Technically I see no reason why not, but if you're going to use a software renderer anyway, you probably want to avoid adding a translation layer in between and just use lavapipe directly (barring bugs and missing features, but for the latter I'd be surprised if there were many vulkan features supported going through VK-on-D3D12-on-WARP and not with VK-on-lavapipe).

1ace avatar Jul 29 '22 12:07 1ace

Heads up, the MR has been merged, so these are now the official names for features.txt :)

1ace avatar Aug 15 '22 22:08 1ace

Sorry for the delay, i'll check that asap. As for the layered category, i'll need to check because it feels like it's the same as the "emulation" category. I know it's not really emulation, but neither is zink.

So maybe layered is a better name for all the drivers.

MightyCreak avatar Aug 16 '22 11:08 MightyCreak

To be more consistent with GL I've added dozen to the Emulation vendor, and I've added a second commit that renames it to Layered for both GL & VK.

Feel free to drop the second commit before merging, or to make/request any other modification :)

1ace avatar Aug 17 '22 11:08 1ace

I just pulled in these changes and tested it locally, and it appears that pvr is missing a defined heading colour for the tables.

archanox avatar Aug 19 '22 23:08 archanox

pvr was missing a heading color, and the style needed an update for the Emulation to Layered rename.

You can grab the two top commits from https://github.com/phomes/mesamatrix/tree/add-dzn-panvk-pvr to fix it

phomes avatar Aug 28 '22 16:08 phomes

Oh dang, sorry, I took my emails in the wrong order and merged a PR that partially fixed what you did here (I forgot dzn).

I'll check for dzn, I'm not sure about the term "Layered". I know we discussed about it somewhere here or on the dedicated Matrix room. I'll try to find it again.

MightyCreak avatar Sep 05 '22 07:09 MightyCreak

Found out the other term, it was "translation" (discussed here on Matrix).

Between "translation" and "layered", I kinda prefer "translation" as it fits all the drivers under it by explaining it "translates" from a source to a destination language: d3d12 (DirectX12 -> GL), virgl (virtual environment -> GL), zink (Vulkan -> GL), vn (virtual environments -> Vulkan), dzn (DirectX12 -> Vulkan).

On the other hand, "layered" also fits the drivers, but is a bit more generic (IMO). In computer science, everything is a layer in the end.

~~I'll create an MR based on your MR (as I don't think I can edit your MR directly).~~

Edit: well, I was apparently able to edit your MR! That's even simpler 😉

MightyCreak avatar Sep 05 '22 08:09 MightyCreak

No worries about the mixup with #250/#253, it happens :slightly_smiling_face:

Yeah, you're right that "everything is a layer in the end"; translation driver sounds good :+1:

1ace avatar Sep 06 '22 08:09 1ace