GPUOpen-Drivers / AMDVLK

AMD Open Source Driver For Vulkan
MIT License
1.72k stars 161 forks source link

Expose primitive ordered pixel shaders #108

Closed Degerz closed 4 years ago

Degerz commented 5 years ago

According to the Vega ISA documentation, this feature uses the SOPP scalar microcode format. Currently, this feature is only exposed in AMD's D3D12 drivers as "rasterizer ordered views" so I'd like to see a mirror equivalent supported in Vulkan as well known as VK_EXT_fragment_shader_interlock.

We need this feature to emulate a certain PowerVR GPU for our use case and particularly we want the fragmentShaderPixelInterlock feature exposed from the extension so can your team enable this for the Vulkan drivers ? (Bonus if the team can also get fragmentShaderSampleInterlock exposed too) Also if you are working on this extension can we also get an estimate of when a driver will be released to support the extension/feature ?

John-Gee commented 8 months ago

It's the same driver only the compiler may differ.

On Fri, Dec 29, 2023, 7:08 PM Rin @.***> wrote:

VK_EXT_fragment_shader_interlock has been added to amdvlk in 194a181da7e2cca5f70ec0f9e65119955b3d2b47 https://github.com/GPUOpen-Drivers/xgl/commit/194a181da7e2cca5f70ec0f9e65119955b3d2b47

Thats not windows though is it?

— Reply to this email directly, view it on GitHub https://github.com/GPUOpen-Drivers/AMDVLK/issues/108#issuecomment-1872437223, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAMR5AVOIZPCHI7DMIFHJSDYL6AT3AVCNFSM4IMMGGH2U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOBXGI2DGNZSGIZQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

mirh commented 8 months ago

The same commit also added VK_KHR_maintenance5 (which did in fact land in 23.12.1) Shader interlock is still nowhere to be seen though (it isn't exposed yet with availableExtensions.AddExtension)

Triang3l commented 8 months ago

VK_EXT_fragment_shader_interlock has been added to amdvlk in 194a181da7e2cca5f70ec0f9e65119955b3d2b47

That commit doesn't implement it, only makes it "known" to the extension management in the driver, and the newly added device feature query reports that all interlock features are unsupported. But it's an awesome sign that it's soon™! Unfortunately no new AMDVLK will be released for the Vega generation though.