Nathan Adams
|
03f7719c49
|
wgpu: Move quad into its own structure under Descriptors
|
2022-09-11 09:07:53 +02:00 |
Nathan Adams
|
a8e8b01a6c
|
wgpu: Use a static buffer for srgb transform uniforms, reworked it from Frame
|
2022-09-11 09:07:53 +02:00 |
Nathan Adams
|
91f3230a45
|
wgpu: Split off Frame into CommandRenderer and Frame - command renderer translates commands into draw calls on frame
|
2022-09-11 09:07:53 +02:00 |
Nathan Adams
|
22ba32b785
|
wgpu: Remove target from Frame
|
2022-09-11 09:07:53 +02:00 |
Nathan Adams
|
8616c898cc
|
wgpu: Remove globals from Frame
|
2022-09-11 09:07:53 +02:00 |
Nathan Adams
|
14ecc98780
|
wgpu: Pass quad vbo/ibo as slices
|
2022-09-11 09:07:53 +02:00 |
Nathan Adams
|
08471c6fb7
|
wgpu: Don't keep setting globals bind group, it only needs to be set once
|
2022-09-11 09:07:53 +02:00 |
Nathan Adams
|
41239039eb
|
wgpu: Moved all bind group layouts into their own struct
|
2022-09-11 09:07:53 +02:00 |
Nathan Adams
|
f33e6904cd
|
wgpu: Moved bind layouts out of Pipelines, they don't change
|
2022-09-11 09:07:53 +02:00 |
Nathan Adams
|
7e013183a7
|
wgpu: Removed Descriptors::pipelines, we don't need 3 pipelines
|
2022-09-11 09:07:53 +02:00 |
Nathan Adams
|
8b6c6f8a62
|
wgpu: Removed DescriptorsTargetData::surface_format and frame_buffer_format as they aren't needed to be target specific
|
2022-09-11 09:07:53 +02:00 |
Nathan Adams
|
6755e1ccbd
|
wgpu: Pass the pipelines to frame instead of deciding based on a macro
|
2022-09-11 09:07:53 +02:00 |
Nathan Adams
|
13657e16ca
|
wgpu: Make render_offscreen use its own Frame instead of making a whole new renderer backend
|
2022-09-11 09:07:53 +02:00 |
Nathan Adams
|
697369536c
|
wgpu: Split off code that actually renders a frame
|
2022-09-11 09:07:53 +02:00 |
Nathan Adams
|
267ea0fd13
|
render: Introduced render commands, moved to a command list model instead of direct rendering
|
2022-09-11 09:07:53 +02:00 |
Nathan Adams
|
c7f420dde5
|
wgpu: Moved WgpuRenderBackend into backend.rs
|
2022-09-11 09:07:53 +02:00 |