doc: fix doc typos
This commit is contained in:
parent
66b8617764
commit
6c95da955f
|
@ -1153,7 +1153,7 @@ libra_error_t libra_d3d11_filter_chain_create_deferred(libra_shader_preset_t *pr
|
||||||
/// function will return an error.
|
/// function will return an error.
|
||||||
/// - `mvp` may be null, or if it is not null, must be an aligned pointer to 16 consecutive `float`
|
/// - `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.
|
/// 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.
|
/// struct.
|
||||||
/// - `out` must not be null.
|
/// - `out` must not be null.
|
||||||
/// - `image.handle` 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.
|
/// function will return an error.
|
||||||
/// - `mvp` may be null, or if it is not null, must be an aligned pointer to 16 consecutive `float`
|
/// - `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.
|
/// 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.
|
/// struct.
|
||||||
/// - `out` must be a descriptor handle to a render target view.
|
/// - `out` must be a descriptor handle to a render target view.
|
||||||
/// - `image.resource` must not be null.
|
/// - `image.resource` must not be null.
|
||||||
|
|
|
@ -207,7 +207,7 @@ extern_fn! {
|
||||||
/// function will return an error.
|
/// function will return an error.
|
||||||
/// - `mvp` may be null, or if it is not null, must be an aligned pointer to 16 consecutive `float`
|
/// - `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.
|
/// 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.
|
/// struct.
|
||||||
/// - `out` must not be null.
|
/// - `out` must not be null.
|
||||||
/// - `image.handle` must not be null.
|
/// - `image.handle` must not be null.
|
||||||
|
|
|
@ -218,7 +218,7 @@ extern_fn! {
|
||||||
/// function will return an error.
|
/// function will return an error.
|
||||||
/// - `mvp` may be null, or if it is not null, must be an aligned pointer to 16 consecutive `float`
|
/// - `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.
|
/// 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.
|
/// struct.
|
||||||
/// - `out` must be a descriptor handle to a render target view.
|
/// - `out` must be a descriptor handle to a render target view.
|
||||||
/// - `image.resource` must not be null.
|
/// - `image.resource` must not be null.
|
||||||
|
|
|
@ -82,7 +82,7 @@ impl From<libra_device_vk_t> for VulkanInstance {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Options for each OpenGL shader frame.
|
/// Options for each Vulkan shader frame.
|
||||||
#[repr(C)]
|
#[repr(C)]
|
||||||
#[derive(Default, Debug, Clone)]
|
#[derive(Default, Debug, Clone)]
|
||||||
pub struct frame_vk_opt_t {
|
pub struct frame_vk_opt_t {
|
||||||
|
|
|
@ -5,9 +5,9 @@ use crate::hello_triangle::{DXSample, SampleCommandLine};
|
||||||
#[test]
|
#[test]
|
||||||
fn triangle_d3d12() {
|
fn triangle_d3d12() {
|
||||||
let sample = hello_triangle::d3d12_hello_triangle::Sample::new(
|
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/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/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/feedback.slangp",
|
||||||
// "../test/slang-shaders/test/history.slangp",
|
// "../test/slang-shaders/test/history.slangp",
|
||||||
|
|
Loading…
Reference in a new issue