NVIDIAGameWorks / NVIDIAImageScaling

NVIDIA Image Scaling SDK
MIT License
506 stars 59 forks source link

GLSL/SPIRV, Vulkan and Linux support #2

Closed stalkerg closed 2 years ago

stalkerg commented 2 years ago

When?

Krteq commented 2 years ago

I just wanted to ask the same question.

BreadFish64 commented 2 years ago

Vulkan support is already there. It just seems like it's not documented very well. Define NIS_DXC 1 and add -e main to the compile flags. Then you can compile the HLSL to Vulkan SPIRV with glslangvalidator. I've implemented it here https://github.com/BreadFish64/yuzu/commit/2eeed34a6e30b5f3162b5842dd7a8430e322e576 if that helps.

abernalnv commented 2 years ago

HLSL/GLSL SPIRV support for VK (including Linux) is part of v1.0.1. Please fell free to report a bug if you find any problem. Thank you!