chyyran
|
8467e5cd97
|
rt(mtl): remove unnecessary output move
|
2024-09-22 02:06:47 -04:00 |
|
chyyran
|
1e33b4cc03
|
capi: make viewport optional, defaulting to a viewport that is the entire size of the render target
|
2024-09-22 02:06:47 -04:00 |
|
chyyran
|
eb53699590
|
capi(include): update headers
|
2024-09-22 02:06:47 -04:00 |
|
chyyran
|
0cbf8024a7
|
build: update soname
|
2024-09-22 02:06:47 -04:00 |
|
chyyran
|
7e354a56a1
|
capi: upgrade cbindgen to fix syn bug
|
2024-09-22 02:06:47 -04:00 |
|
chyyran
|
0a87bcc657
|
rt: respect viewport extents when rendering
|
2024-09-22 02:06:47 -04:00 |
|
chyyran
|
f0a7970b44
|
rt: add viewport extent separate from output texture dimensions
|
2024-09-22 02:06:47 -04:00 |
|
chyyran
|
e7e6ed8fb8
|
capi: remove _internal_alloc from libra_preset_param_list_t
|
2024-09-22 02:06:47 -04:00 |
|
chyyran
|
61fdaeea14
|
capi(gl): update to take opengl context in constructor
|
2024-09-22 02:06:47 -04:00 |
|
chyyran
|
2552d4321b
|
capi(gl): set output in libra_output_image_gl_t, not viewport
|
2024-09-22 02:06:47 -04:00 |
|
chyyran
|
eaf939c861
|
capi(vk): set output in libra_output_image_vk_t, not viewport
|
2024-09-22 02:06:47 -04:00 |
|
chyyran
|
14abb0362b
|
capi(d3d12): set output in libra_output_image_d3d12_t, not viewport
|
2024-09-22 02:06:47 -04:00 |
|
chyyran
|
e064f8d0be
|
capi(d3d12): remove ignored fields from libra_source_image_d3d12_t
|
2024-09-22 02:06:47 -04:00 |
|
chyyran
|
f18c22a95a
|
capi(d3d11): take ManuallyDrop<ID3D11ShaderResourceView> directly in libra_d3d11_filter_chain_t
|
2024-09-22 02:06:47 -04:00 |
|
chyyran
|
763c05755d
|
rt: mark error types as non_exhaustive
|
2024-09-22 02:06:47 -04:00 |
|
chyyran
|
e6d23f1d8f
|
doc: update opengl example
|
2024-09-22 02:06:47 -04:00 |
|
chyyran
|
2f9df143cf
|
deps: consolidate and update dependencies
|
2024-09-22 02:06:47 -04:00 |
|
chyyran
|
1bdadaa449
|
rt(gl): port to OpenGL runtime to glow
|
2024-09-22 02:06:47 -04:00 |
|
chyyran
|
77b957bf5e
|
reflect: stop adding null bytes to uniform names
|
2024-09-22 02:06:47 -04:00 |
|
chyyran
|
1e0727f89d
|
chore: Release
|
2024-09-21 01:55:42 -04:00 |
|
chyyran
|
60d2c3f177
|
chore: Release
|
2024-09-21 01:53:56 -04:00 |
|
chyyran
|
72a98272f3
|
doc(capi): document all C API members
|
2024-09-21 01:50:05 -04:00 |
|
chyyran
|
7d0b135710
|
rt(mtl): remove unused 'pass lifetime
|
2024-09-20 02:21:09 -04:00 |
|
chyyran
|
4ba5aefafc
|
capi: don't export wrap_ok macro
This was done by accident, so will be made exempt from Rust versioning guarantees.
|
2024-09-18 00:55:05 -04:00 |
|
chyyran
|
6edfaed91f
|
test: update slang-shaders
|
2024-09-18 00:27:52 -04:00 |
|
chyyran
|
cd877d7883
|
build: respect CARGO env in build script
|
2024-09-17 21:25:10 -04:00 |
|
chyyran
|
d56d92ea0f
|
test: update slang-shaders
|
2024-09-17 19:07:51 -04:00 |
|
chyyran
|
f49e3b58d8
|
doc(capi): fix rotation integer docs
|
2024-09-17 19:06:57 -04:00 |
|
jcm
|
1f4f1b6c12
|
capi: Fix Metal error message, function header
|
2024-09-17 18:27:43 -04:00 |
|
chyyran
|
57f2dabf0c
|
reflect: fix CurrentSubFrame being parsed as TotalSubFrames
|
2024-09-17 18:27:31 -04:00 |
|
chyyran
|
81840a9e9c
|
reflect: insert alias semantics for shader name through pragma
|
2024-09-17 18:27:31 -04:00 |
|
chyyran
|
87e0405675
|
presets: properly trim shader name if given through pragma
|
2024-09-17 18:27:31 -04:00 |
|
chyyran
|
e0c97f77b4
|
build: nicer build script messages
|
2024-09-17 01:30:19 -04:00 |
|
chyyran
|
6e60dd6fa0
|
test: update slang-shaders
|
2024-09-17 01:29:08 -04:00 |
|
chyyran
|
d55d0e4839
|
rt(mtl): use f32::MAX for lodMaxClamp
|
2024-09-17 01:20:48 -04:00 |
|
chyyran
|
6cdd9247de
|
presets: trim aliases and shader parameter names
|
2024-09-16 19:21:18 -04:00 |
|
chyyran
|
cbe6510f76
|
preprocess: the step argument is optional according to slang-shaders spec
|
2024-09-16 19:21:18 -04:00 |
|
chyyran
|
d6f8950bdc
|
rt: only draw last pass twice if the last pass is needed as feedback
|
2024-09-15 15:46:31 -04:00 |
|
chyyran
|
0fe5bbd57b
|
rt: do reflection to see if the final pass is needed as feedback
|
2024-09-15 15:46:31 -04:00 |
|
chyyran
|
eace595ebb
|
chore: Release
|
2024-09-15 11:00:38 -04:00 |
|
chyyran
|
66561ad2ed
|
doc: fix header image
|
2024-09-15 03:11:45 -04:00 |
|
chyyran
|
05d48841ad
|
doc: update docs for stable build instructions
|
2024-09-15 03:10:45 -04:00 |
|
chyyran
|
927740433c
|
build: remove unneeded image dependency
|
2024-09-15 03:10:45 -04:00 |
|
chyyran
|
316e92dc09
|
build: allow building stable with --stable flag
|
2024-09-15 03:10:45 -04:00 |
|
chyyran
|
e930f90a9c
|
capi: allow building on stable by gating #[doc] comments
|
2024-09-15 03:10:45 -04:00 |
|
chyyran
|
2f988d5b1d
|
rt: add stable feature to build ShaderPassArtifacts via Box<dyn CompileReflectShader>
|
2024-09-15 03:10:45 -04:00 |
|
chyyran
|
e0a5c90103
|
reflect: implement stable FromCompilation
|
2024-09-15 03:10:45 -04:00 |
|
chyyran
|
4cc3c875bf
|
reflect: allow compilation of boxed trait objects
Add a hidden `compile_boxed` function to CompileShader to support this. This is to allow Box<dyn CompileReflectShader> to work.
|
2024-09-15 03:10:45 -04:00 |
|
chyyran
|
805854b94b
|
reflect: simplify FromCompilation output signature
CompileShader<..> + ReflectShader and be simplified to CompileReflectShader since FromCompilation instances are unique for (Compilation, Reflector)
|
2024-09-15 03:10:45 -04:00 |
|
chyyran
|
c291d9d85f
|
capi: remove dependency on try_blocks
Uses an IIFE + return type changes to remove the need for try blocks
|
2024-09-14 21:26:19 -04:00 |
|