chyyran
|
0adf3505ec
|
rt: mark frame and create APIs unsafe
This doesn't cause an API break in the C API but we don't actually make an attempt to verify that it's safe to access any of the device contexts.
|
2023-02-16 17:33:47 -05:00 |
|
chyyran
|
f42328280a
|
tests: split tests into their own crates
|
2023-02-16 00:39:36 -05:00 |
|
chyyran
|
2ca6aecfe4
|
cache: clean up cache api
|
2023-02-15 18:08:47 -05:00 |
|
chyyran
|
e7645a5592
|
rt: expose cache disable option in filter options
|
2023-02-15 18:08:47 -05:00 |
|
chyyran
|
604edfb78f
|
cache: implement transparent shader object cache
supported objects:
- SPIR-V artifacts
- Validated DXIL artifacts
- DXBC artifacts
- OpenGL Program Binaries
- Vulkan Pipeline caches
- D3D12 CACHED_PIPELINE_STATE
|
2023-02-15 18:08:47 -05:00 |
|
chyyran
|
07fac4d1e9
|
rt: load luts with multiple threads
|
2023-02-14 02:56:06 -05:00 |
|
chyyran
|
3c15a3a523
|
rt: fix history framebuffer requirements and unify framebuffer initialization logic
|
2023-02-11 00:20:35 -05:00 |
|
chyyran
|
512a4c0050
|
rt: make runtimes thread safe and document thread safety guarantees
|
2023-02-10 03:20:59 -05:00 |
|
chyyran
|
a19ea7cf7d
|
gl: remove support for POT textures
|
2023-02-10 00:59:22 -05:00 |
|
chyyran
|
2b250db353
|
capi: make _opt* structs more forwards compatible
yay another abi break 🙃
hopefully for the last time
|
2023-02-09 23:44:39 -05:00 |
|
chyyran
|
2adb23c01f
|
gl: remove unused prints
|
2023-02-08 21:32:09 -05:00 |
|
chyyran
|
59e0b5da86
|
rt: unify render target logic
|
2023-02-07 23:14:39 -05:00 |
|
chyyran
|
06161b5aad
|
rt: make scale framebuffers a lot nicer to use
|
2023-02-07 22:02:08 -05:00 |
|
chyyran
|
d1771a8b25
|
api: fix feature flags to allow building a proper subset of librashader
|
2023-02-07 18:50:33 -05:00 |
|
chyyran
|
d9a97de131
|
rt: doc FilterPassMeta
|
2023-02-07 02:55:15 -05:00 |
|
chyyran
|
6d75dc5100
|
fmt: general format and clean up
|
2023-02-07 02:31:08 -05:00 |
|
chyyran
|
c8a1d4d196
|
rt: abstract framebuffer scaling into common code
|
2023-02-07 02:12:47 -05:00 |
|
chyyran
|
4e8047932b
|
gl: make input MVP apply to all internal passes
|
2023-02-06 23:11:39 -05:00 |
|
chyyran
|
d32ad8e3b2
|
options: fix frame-direction docs
|
2023-02-06 00:26:27 -05:00 |
|
chyyran
|
b81b2b1d25
|
fmt: run clippy
|
2023-02-05 18:34:30 -05:00 |
|
chyyran
|
7d8c137083
|
rt: abstract reusable bindingmeta ops
|
2023-02-05 16:19:22 -05:00 |
|
chyyran
|
18e1f758cd
|
rt: apply filter settings before drawing frame
|
2023-01-30 19:30:23 -05:00 |
|
chyyran
|
964da2874c
|
fmt: format pass
|
2023-01-29 21:31:38 -05:00 |
|
chyyran
|
92caad292c
|
runtime: scale output framebuffers according to the previous inputs rather than original size.
|
2023-01-29 21:26:11 -05:00 |
|
chyyran
|
8b6481abc1
|
fmt: run clippy and rustfmt
|
2023-01-29 02:30:58 -05:00 |
|
Ronny Chan
|
dffea95370
|
reflect: allow binding uniform names to both UBO and Push Constants (#4)
|
2023-01-29 01:57:09 -05:00 |
|
chyyran
|
1e99c169db
|
d3d11: rebind vertices each pass
|
2023-01-27 01:22:53 -05:00 |
|
chyyran
|
ef8b72b220
|
reflect: use a marker trait to remove need for macro when spelling out compilation artifact opaque type
|
2023-01-19 18:44:08 -05:00 |
|
chyyran
|
261710d639
|
reflect: move GlslangCompilation up a level and remove intermediate modules in reflect::front
|
2023-01-19 01:06:17 -05:00 |
|
chyyran
|
b3dd378b5b
|
reflect: simplify shaderpassmeta type declarations with a macro
|
2023-01-19 00:37:37 -05:00 |
|
chyyran
|
fc54c7f65c
|
reflect: move compile_preset_passes from librashader-runtime into librashader-reflect
|
2023-01-18 21:58:13 -05:00 |
|
chyyran
|
4e51704e35
|
reflect: abstract away preset compilation
|
2023-01-18 20:56:08 -05:00 |
|
chyyran
|
e887b7cf35
|
docs: add crate docs to helper crates
|
2023-01-16 23:09:07 -05:00 |
|
chyyran
|
40e4ce908f
|
preprocess: store parameters in FxHashMap
|
2023-01-15 14:06:38 -05:00 |
|
chyyran
|
3b89c065fa
|
fmt: run cargo fmt
|
2023-01-15 12:17:27 -05:00 |
|
chyyran
|
19e8da7d85
|
chore: general cleanup
|
2023-01-15 11:08:13 -05:00 |
|
chyyran
|
fdb5bb0e51
|
vk/gl: properly handling mipmap settings
|
2023-01-15 03:20:38 -05:00 |
|
chyyran
|
05ec73a11c
|
fmt: run cargo fmt
|
2023-01-15 03:06:09 -05:00 |
|
chyyran
|
c3a532d729
|
rt: unify semantics binding logic
|
2023-01-15 03:01:23 -05:00 |
|
chyyran
|
2e2713a21b
|
capi: expose FilterChainParameters to capi
|
2023-01-14 09:36:26 -05:00 |
|
chyyran
|
ba24181450
|
test: fix tests
|
2023-01-14 01:58:22 -05:00 |
|
chyyran
|
3f3712eaa4
|
chore: cleanup
|
2023-01-13 18:11:41 -05:00 |
|
chyyran
|
3e628093ae
|
capi: finish capi for vulkan
|
2023-01-13 18:10:20 -05:00 |
|
chyyran
|
45d03fbfb8
|
capi: resolve name conflicts due to conflicting struct names in each module
|
2023-01-13 18:10:20 -05:00 |
|
chyyran
|
6782f08820
|
capi: remove potential panics
|
2023-01-13 18:10:20 -05:00 |
|
chyyran
|
9b7d6fc014
|
capi: remove potential panics
|
2023-01-13 16:10:54 -05:00 |
|
chyyran
|
589538d8b2
|
doc: completely doc librashader crate
|
2023-01-13 03:19:58 -05:00 |
|
chyyran
|
e2ac7a1bfa
|
common: unify viewport types
|
2023-01-13 02:54:16 -05:00 |
|
chyyran
|
abaebe56cc
|
api: remove FilterChain trait
|
2023-01-13 02:32:21 -05:00 |
|
chyyran
|
455b56ce8e
|
lib: remove print statements
|
2023-01-13 00:07:18 -05:00 |
|
chyyran
|
5545f89f28
|
fmt: run cargo fmt
|
2023-01-12 21:29:42 -05:00 |
|
chyyran
|
8474dcd6dc
|
gl46: fix framebuffer attachments for history
|
2023-01-12 19:25:52 -05:00 |
|
chyyran
|
5acf70e362
|
vk: try to fix feedback (but its not working..)
|
2023-01-12 01:20:13 -05:00 |
|
chyyran
|
a34bdccc06
|
vk: implement framebuffer operations (gen_mips/copy/clear)
|
2023-01-11 19:44:13 -05:00 |
|
chyyran
|
23458917f3
|
gl: kind of fix mipmap handlingneeds to check next frame
|
2023-01-11 19:09:15 -05:00 |
|
chyyran
|
8047bf80c8
|
gl/d3d11: add option to force mipmap generation off
|
2023-01-11 18:25:31 -05:00 |
|
chyyran
|
02b3b8baff
|
vk: fix image format conversions
|
2023-01-11 17:28:09 -05:00 |
|
chyyran
|
f08098680a
|
misc: tweaks
|
2023-01-03 01:06:42 -05:00 |
|
chyyran
|
abd38b9076
|
vk: create sampler set
|
2022-12-21 22:03:38 -05:00 |
|
chyyran
|
8fca2954b0
|
fmt: run cargo fmt
|
2022-12-21 21:39:31 -05:00 |
|
chyyran
|
fe573618f8
|
vk: implement load luts
|
2022-12-21 21:13:35 -05:00 |
|
chyyran
|
e7351207cf
|
rt: take ringbuffer out for reuse
|
2022-12-06 01:01:21 -05:00 |
|
chyyran
|
6ab03ecc99
|
capi: more docs
|
2022-12-04 22:48:57 -05:00 |
|
chyyran
|
8935ab28e9
|
rt: allow specifying frame_direction
|
2022-12-04 22:36:14 -05:00 |
|
chyyran
|
4946bfc0dd
|
gl: catch panic if gl not intialized
|
2022-12-03 19:07:15 -05:00 |
|
chyyran
|
b928a8068d
|
capi: finish basic gl capi
|
2022-12-03 18:56:57 -05:00 |
|
chyyran
|
b569de1522
|
capi: basic capi for presets and gl
|
2022-12-03 18:33:01 -05:00 |
|
chyyran
|
f92dc5cae6
|
fmt: run clippy
|
2022-12-01 19:16:13 -05:00 |
|
chyyran
|
1665770615
|
rt: move image into runtime
|
2022-12-01 17:11:42 -05:00 |
|
chyyran
|
e804ffd310
|
reflect: document and rename some structs
|
2022-12-01 01:50:16 -05:00 |
|
chyyran
|
8fa38c564c
|
d3d11: fix flickering when using feedback
|
2022-12-01 00:11:41 -05:00 |
|
chyyran
|
acab02e401
|
doc: general add docs and clean up
|
2022-11-30 22:50:57 -05:00 |
|
chyyran
|
cbfe76928e
|
gl: overall cleanup
|
2022-11-30 19:05:24 -05:00 |
|
chyyran
|
6519a78df2
|
d3d11: make error unboxed
|
2022-11-30 17:59:55 -05:00 |
|
chyyran
|
759cd4bc28
|
gl: very not nicely make dsa a runtime prop
|
2022-11-30 17:21:32 -05:00 |
|
chyyran
|
5088e1c55b
|
fmt: run cargo fmt and clippy
|
2022-11-30 01:38:05 -05:00 |
|
chyyran
|
a091cff6ae
|
gl: merge gl46 back into gl crate
|
2022-11-30 00:39:50 -05:00 |
|
chyyran
|
538672e355
|
gl: abstract away gl3 and dsa
|
2022-11-30 00:39:50 -05:00 |
|
chyyran
|
f2d67f9160
|
gl: leave texture unbound if trying to sample from 0
|
2022-11-30 00:39:50 -05:00 |
|
chyyran
|
60fd644a2a
|
d3d11: initialize output buffers
|
2022-11-29 01:57:04 -05:00 |
|
chyyran
|
ae257d8574
|
runtime: move some runtime commonalities into runtime crate
|
2022-11-29 00:23:48 -05:00 |
|
chyyran
|
515fe12568
|
reflect: clean up UniformStorage
|
2022-11-28 22:59:11 -05:00 |
|
chyyran
|
83b7cd38a0
|
gl/reflect: abstract away common uniform storage buffers
|
2022-11-28 22:56:20 -05:00 |
|
chyyran
|
2c953d638f
|
dx11: get single pass working
|
2022-11-28 21:00:54 -05:00 |
|
chyyran
|
5078015605
|
gl46: implement DSA version of gl runtime
|
2022-11-28 18:56:35 -05:00 |
|
chyyran
|
7b2721aa19
|
gl: move quad drawing into filterchain
|
2022-11-28 18:34:37 -05:00 |
|
chyyran
|
2081e00956
|
gl: don't keep entire shaderpreset for final filter chain object
|
2022-11-28 01:16:09 -05:00 |
|
chyyran
|
9cad2b9128
|
reflect: make reflect errors non-exhaustive
|
2022-11-27 23:37:45 -05:00 |
|
chyyran
|
9e2c914e57
|
gl: cleanup and refactor
- allow frame and filterchain init to take optional config object by caller
- allow binding MVP as a uniform
|
2022-11-27 23:27:21 -05:00 |
|
chyyran
|
0806114e12
|
gl: accomodate for viewport x and y
|
2022-11-27 02:10:11 -05:00 |
|
chyyran
|
f0bc2d92af
|
d3d11: load shaders and buffers
|
2022-11-26 23:57:22 -05:00 |
|
chyyran
|
f327040729
|
d3d11: create buffers
[ci broken]
|
2022-11-26 19:35:33 -05:00 |
|
chyyran
|
085f3a6444
|
gl: fix sampler binding
|
2022-11-26 17:11:26 -05:00 |
|
chyyran
|
1f068bc0d5
|
gl: try using samplerset
|
2022-11-26 16:59:34 -05:00 |
|
chyyran
|
bfed01435b
|
gl: fix redundant fbo rebind
|
2022-11-26 16:58:23 -05:00 |
|
chyyran
|
5cd30ade02
|
dx11: lut upload
|
2022-11-26 02:38:15 -05:00 |
|
chyyran
|
e64b2f3300
|
gl: get version at runtime
|
2022-11-24 20:00:55 -05:00 |
|
chyyran
|
cb8af115c7
|
gl: don't rename inputs/outputs
|
2022-11-24 02:24:05 -05:00 |
|
chyyran
|
6d11323520
|
gl: use real texture names when fixing bindings
|
2022-11-24 02:08:58 -05:00 |
|
chyyran
|
daea19b5a2
|
gl: fix image size change
|
2022-11-24 02:08:34 -05:00 |
|