1
0
mirror of https://github.com/Yours3lf/rpi-vk-driver.git synced 2025-01-31 23:52:14 +01:00

Update README.md

This commit is contained in:
Yours3lf 2020-06-08 19:41:45 +01:00 committed by GitHub
parent a700c5b3cd
commit 16a228e15a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -74,7 +74,7 @@ There are about 470.000 conformance tests.
## FAQ ## FAQ
### Will this ever be a fully functional VK driver? ### Will this ever be a fully functional VK driver?
As far as I know the PI is NOT fully VK capable on the hardware level. I can already see that some things will need to be emulated and others won't ever be emulated. As far as I know the PI is NOT fully VK capable on the hardware level. Some things will be emulated and others won't ever be supported.
### What performance should you expect? ### What performance should you expect?
Performance wise, the Pi is quite capable. The specs and architecture is close to the GPU in the iPhone 4s. The only problem I see is bandwidth as you only have about 7GB/s compared to 12-25GB/s on typical mobile phones. So post processing is a huge no and you'd need to be very careful about the techniques that you use. Eg. you'd need to stay on chip at all times. Performance wise, the Pi is quite capable. The specs and architecture is close to the GPU in the iPhone 4s. The only problem I see is bandwidth as you only have about 7GB/s compared to 12-25GB/s on typical mobile phones. So post processing is a huge no and you'd need to be very careful about the techniques that you use. Eg. you'd need to stay on chip at all times.
@ -83,29 +83,31 @@ CPU performance (eg. number of draw calls) should be enough on the quad-core PIs
### What features will not be supported? ### What features will not be supported?
- 3D textures - 3D textures
- sparse textures - sparse textures
- compute shaders (though could be supported to some extent if the kernel side would support it)
- occlusion queries (https://github.com/anholt/mesa/wiki/VC4-OpenGL-support) - occlusion queries (https://github.com/anholt/mesa/wiki/VC4-OpenGL-support)
- pipeline statistics - pipeline statistics
- timestamp queries (maybe with kernel support?)
- indirect draws - indirect draws
- spirv shaders
- events - events
- proper semaphore support - proper semaphore support
- tessellation shaders - tessellation shaders
- geometry shaders - geometry shaders
- 32 bit indices - 32 bit indices
- instancing - instancing
- pipeline caches (doesn't make sense with assembly shaders)
- multiple color attachments - multiple color attachments
### What features could be supported if kernel support was present?
- HDR render targets and textures (lack of kernel support for 64bpp render target) - HDR render targets and textures (lack of kernel support for 64bpp render target)
- ETC textures (lack of kernel support for 64bpp render target) - ETC textures (lack of kernel support for 64bpp render target)
- linear RGBA8 textures (lack of kernel support) - linear RGBA8 textures (lack of kernel support)
- linear YUYV textures https://www.linuxtv.org/downloads/v4l-dvb-apis-old/V4L2-PIX-FMT-YUYV.html (lack of kernel support) - linear YUYV textures https://www.linuxtv.org/downloads/v4l-dvb-apis-old/V4L2-PIX-FMT-YUYV.html (lack of kernel support)
- timing blocks for profiling (kernel supports interrupts, but data needs to be routed to userspace ie. add tiler/renderer start/end timing to seqnos) - timing blocks for profiling (kernel supports interrupts, but data needs to be routed to userspace ie. add tiler/renderer start/end timing to seqnos)
- compute shaders (though could be supported to some extent if the kernel side would support it)
### What features could be supported given enough time?
- spirv shaders
- pipeline caches (currently doesn't make sense with assembly shaders)
### What additional features will this driver support? ### What additional features will this driver support?
- I already added support (to be polished) to load shader assembly. This will enable devs to optimise shaders to the last cycle. - I already added support to load shader assembly. This will enable devs to optimise shaders to the last cycle.
- I'll probably add something to indicate towards the developer that things are emulated or not supported at all.
- Videocore IV provides some performance counters these will be exposed - Videocore IV provides some performance counters these will be exposed
- Videocore IV supports some texture formats that are not present in the spec - Videocore IV supports some texture formats that are not present in the spec
- bw1: 1 bit black and white - bw1: 1 bit black and white