diff --git a/include/librashader.h b/include/librashader.h index afd3235..12e305f 100644 --- a/include/librashader.h +++ b/include/librashader.h @@ -1153,7 +1153,7 @@ libra_error_t libra_d3d11_filter_chain_create_deferred(libra_shader_preset_t *pr /// function will return an error. /// - `mvp` may be null, or if it is not null, must be an aligned pointer to 16 consecutive `float` /// values for the model view projection matrix. -/// - `opt` may be null, or if it is not null, must be an aligned pointer to a valid `frame_gl_opt_t` +/// - `opt` may be null, or if it is not null, must be an aligned pointer to a valid `frame_d3d11_opt_t` /// struct. /// - `out` must not be null. /// - `image.handle` must not be null. @@ -1280,7 +1280,7 @@ libra_error_t libra_d3d12_filter_chain_create_deferred(libra_shader_preset_t *pr /// function will return an error. /// - `mvp` may be null, or if it is not null, must be an aligned pointer to 16 consecutive `float` /// values for the model view projection matrix. -/// - `opt` may be null, or if it is not null, must be an aligned pointer to a valid `frame_gl_opt_t` +/// - `opt` may be null, or if it is not null, must be an aligned pointer to a valid `frame_d3d12_opt_t` /// struct. /// - `out` must be a descriptor handle to a render target view. /// - `image.resource` must not be null. diff --git a/librashader-capi/src/runtime/d3d11/filter_chain.rs b/librashader-capi/src/runtime/d3d11/filter_chain.rs index 3e2d6ca..3ec208e 100644 --- a/librashader-capi/src/runtime/d3d11/filter_chain.rs +++ b/librashader-capi/src/runtime/d3d11/filter_chain.rs @@ -207,7 +207,7 @@ extern_fn! { /// function will return an error. /// - `mvp` may be null, or if it is not null, must be an aligned pointer to 16 consecutive `float` /// values for the model view projection matrix. - /// - `opt` may be null, or if it is not null, must be an aligned pointer to a valid `frame_gl_opt_t` + /// - `opt` may be null, or if it is not null, must be an aligned pointer to a valid `frame_d3d11_opt_t` /// struct. /// - `out` must not be null. /// - `image.handle` must not be null. diff --git a/librashader-capi/src/runtime/d3d12/filter_chain.rs b/librashader-capi/src/runtime/d3d12/filter_chain.rs index 24c82ed..449619b 100644 --- a/librashader-capi/src/runtime/d3d12/filter_chain.rs +++ b/librashader-capi/src/runtime/d3d12/filter_chain.rs @@ -218,7 +218,7 @@ extern_fn! { /// function will return an error. /// - `mvp` may be null, or if it is not null, must be an aligned pointer to 16 consecutive `float` /// values for the model view projection matrix. - /// - `opt` may be null, or if it is not null, must be an aligned pointer to a valid `frame_gl_opt_t` + /// - `opt` may be null, or if it is not null, must be an aligned pointer to a valid `frame_d3d12_opt_t` /// struct. /// - `out` must be a descriptor handle to a render target view. /// - `image.resource` must not be null. diff --git a/librashader-capi/src/runtime/vk/filter_chain.rs b/librashader-capi/src/runtime/vk/filter_chain.rs index dc36f7e..7cbbaa6 100644 --- a/librashader-capi/src/runtime/vk/filter_chain.rs +++ b/librashader-capi/src/runtime/vk/filter_chain.rs @@ -82,7 +82,7 @@ impl From for VulkanInstance { } } -/// Options for each OpenGL shader frame. +/// Options for each Vulkan shader frame. #[repr(C)] #[derive(Default, Debug, Clone)] pub struct frame_vk_opt_t { diff --git a/librashader-runtime-d3d12/tests/triangle.rs b/librashader-runtime-d3d12/tests/triangle.rs index a64184f..100175f 100644 --- a/librashader-runtime-d3d12/tests/triangle.rs +++ b/librashader-runtime-d3d12/tests/triangle.rs @@ -5,9 +5,9 @@ use crate::hello_triangle::{DXSample, SampleCommandLine}; #[test] fn triangle_d3d12() { let sample = hello_triangle::d3d12_hello_triangle::Sample::new( - "../test/shaders_slang/crt/crt-lottes.slangp", + //"../test/shaders_slang/crt/crt-lottes.slangp", // "../test/basic.slangp", - // "../test/slang-shaders/handheld/console-border/gbc-lcd-grid-v2.slangp", + "../test/shaders_slang/handheld/console-border/gbc-lcd-grid-v2.slangp", // "../test/Mega_Bezel_Packs/Duimon-Mega-Bezel/Presets/Advanced/Nintendo_GBA_SP/GBA_SP-[ADV]-[LCD-GRID]-[Night].slangp", // "../test/slang-shaders/test/feedback.slangp", // "../test/slang-shaders/test/history.slangp",