gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/d3d11/hlsl
Seungha Yang f52ecb9607 d3d11converter: Add support for HLSL precompile and bytecode caching
Precompile pixel shaders for simple conversion path
(without gamma/primaries conversion) in case of MSVC build.
Even if runtime compile is required (cross-compiled or complex conversion
path), do it only once and reuse the compiled bytecode.

This precompile/caching can save about 95% of time taken by
gst_d3d11_converter_new() call.

Fixes: https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/3004
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5457>
2023-10-11 18:40:46 +00:00
..
collect_hlsl_header.py d3d11converter: Add support for HLSL precompile and bytecode caching 2023-10-11 18:40:46 +00:00
meson.build d3d11converter: Add support for HLSL precompile and bytecode caching 2023-10-11 18:40:46 +00:00
PSMain_converter.hlsl d3d11converter: Add support for HLSL precompile and bytecode caching 2023-10-11 18:40:46 +00:00
VSMain_converter.hlsl d3d11converter: Add support for HLSL precompile and bytecode caching 2023-10-11 18:40:46 +00:00