Commit Graph

154 Commits

Author SHA1 Message Date
Anish Bhobe 38b697f202 Move all buffers to DeviceAddress. 2025-06-01 19:24:31 +02:00
Anish Bhobe 19e3222460 Rename systems::Device to RenderingDevice to avoid ambiguity. 2025-05-31 21:42:14 +02:00
Anish Bhobe 4cdb39c6ba Change name for pipeline creation. 2025-05-31 11:51:21 +02:00
Anish Bhobe cc1fd12b64 fix: Async Compute 2025-05-28 20:58:00 +02:00
Anish Bhobe cfb76c7d78 East Const supremacy. 2025-05-27 18:52:04 +02:00
Anish Bhobe 58edfef94d General Cleanup. 2025-05-27 18:30:50 +02:00
Anish Bhobe 3ca3beb1e4 fix: Improper GGX usage. 2025-05-25 21:29:08 +02:00
Anish Bhobe 4f71df797c Model Render updated. 2025-05-25 19:23:19 +02:00
Anish Bhobe befa36c7f1 ContextPool support for unordered contexts. 2025-05-18 00:06:06 +02:00
Anish Bhobe 3b4ea52611 ContextPools for Frames. 2025-05-17 15:25:33 +02:00
Anish Bhobe 8e2c77bcf1 Clean-up `flake.nix`. 2025-05-13 15:58:42 +02:00
Anish Bhobe 1f8f102ee1 Fixes added for clang.
- Enum values now assigned with C-enums instead of type-safe enums.
- Atomic included at `constants.h` so it's available everywhere.
- Fixed CommitManager forward declaration.
- Added `scalarLayout` option to slang compiler.
2025-05-13 13:00:11 +02:00
Anish Bhobe cc4cffe989 Fix: Usage of `format_to` in `fmt`.
Should not be using versions.
`v11::format_to` -> `fmt::format_to`.
2025-05-13 12:46:58 +02:00
Anish Bhobe adfa86ebe9 fix: obnoxious error of "util/logger". 2025-05-10 18:01:22 +02:00
Anish Bhobe 41c91058b6 Shader reflection added. 2025-05-10 18:00:25 +02:00
Anish Bhobe 3a7a2b4ab7 [WIP] Box moved to 'new API' pending fixes. 2025-05-08 17:44:55 +02:00
Anish Bhobe 63282c3587 [WIP] Added a transfer context for uploads. 2025-05-08 00:34:59 +02:00
Anish Bhobe 7351415ebf Consolidate Present as a special submit. 2025-05-07 18:27:13 +02:00
Anish Bhobe 1db942f1a9 Remove Cast and Recast. 2025-05-07 17:44:01 +02:00
Anish Bhobe 3dc6501246 fix: Error on window resize. 2025-05-06 19:06:04 +02:00
Anish Bhobe 5d6ddbb158 Added slang for Shader code compilation.
TODO: Use slang to create descriptors.
2025-05-06 15:32:58 +02:00
Anish Bhobe 7507394af9 Added Pipeline creation into the Device. 2025-05-03 13:46:44 +02:00
Anish Bhobe 2facb3e6c1 fix: Context memory leak. 2025-05-02 20:32:15 +02:00
Anish Bhobe d683de3181 Draw Triangle and bug-fixes. 2025-05-01 20:05:31 +02:00
Anish Bhobe d82e81d104 Begin Consolidation all objects under the systems::Device interface.
Currently clears a screen.
- Merge all resource creation API under Device.
- Begin a basic Context setup.
2025-05-01 13:27:19 +02:00
Anish Bhobe a790c26f1c Rename Context to Instance. 2025-04-28 21:37:03 +02:00
Anish Bhobe 668189acb5 Fixed bug in Model Loading.
Model Loader was loading indexes into image instead of going via texture.
TODO: Textures also have samplers.
2025-04-10 23:50:57 +02:00
Anish Bhobe b8b620a723 Triangle is ready. 2025-04-09 20:33:38 +02:00
Anish Bhobe 703624eb86 Reworked buffer types. 2025-04-08 23:33:07 +02:00
Anish Bhobe 1748a48272 Image, View and Sampler are all updated. 2025-04-07 00:21:50 +02:00
Anish Bhobe d8770c1e06 [WIP] Updated Buffers.
TODO: Update Image and Views.
2025-04-06 21:02:58 +02:00
Anish Bhobe 1bee73e46f [WIP] Move to shared_ptr. 2025-04-06 19:31:12 +02:00
Anish Bhobe 98660a11fa Rename: ImageViewManager -> ViewManager 2025-04-02 22:48:24 +02:00
Anish Bhobe 8eb5a678fc Cleanup and header re-date. 2025-04-02 22:46:30 +02:00
Anish Bhobe e5b002c8cc Rename freelist and clean up code. 2025-04-02 21:56:49 +02:00
Anish Bhobe ec6aeb6f3b Fixed Commit count issue. 2025-04-02 21:55:05 +02:00
Anish Bhobe 8f9b6d66be At par with old-arch.
FIXED: Bug with black speckles in prefilter.
Caused by MipMapping enabled.
2025-04-02 21:08:14 +02:00
Anish Bhobe aa729610cf [WIP] Fixed texture load corruption issue. 2025-04-02 00:27:57 +02:00
Anish Bhobe 3ab9d838fa [WIP] Separated ImageViews. 2025-04-01 08:54:30 +02:00
Anish Bhobe 73c96dc56b [WIP] Moving ModelRender to new arch.
TODO: ImageView
2025-03-31 21:32:11 +02:00
Anish Bhobe afec1e3e32 Reimplemented RenderResourceManager. 2025-03-24 22:31:47 +01:00
Anish Bhobe 396810d203 RenderResourceManager handles images and bindless. 2025-03-02 19:19:43 +01:00
Anish Bhobe 3a7bea902f [WIP] Cleanup in prep for RenderResourceManager. 2025-03-02 12:18:08 +01:00
Anish Bhobe 88d8a2acc2 Added ImageManager and ported Box.
- BufferManager can construct UniformBuffers
- Box uses Managers for all the tasks.
2025-03-02 12:18:07 +01:00
Anish Bhobe 9ca5751a78 Fix sync issues in Triangle. 2025-03-02 12:18:07 +01:00
Anish Bhobe 15df13730d Stop VS from adding user files to the project. 2025-03-02 12:18:07 +01:00
Anish Bhobe dfdbd52087 Messaging fixes in image and O3 in Cmake. 2025-03-02 12:18:06 +01:00
Anish Bhobe 300fa7449c Moved BufferManager to handles again. 2025-03-02 12:18:06 +01:00
Anish Bhobe 058a6512ea Added new BufferManager.
1. Added a new Manager template and buffer manager.
2. Fixed all warnings.
2025-03-02 12:18:05 +01:00
kidrigger 8d2c04ea19 Fix error in CMakeLists in model_render.
Fixed Whitespace in light_manager.cpp in samples/03_model_render that
caused a bug on linux.
2025-03-02 12:14:58 +01:00