vulkan: store out vertices in buffer
This commit is contained in:
parent
10be846e4c
commit
73611fd287
4 changed files with 34 additions and 31 deletions
|
|
@ -56,7 +56,7 @@ unsafe impl Packed for TexPushConstants {}
|
|||
#[derive(Copy, Clone, Debug)]
|
||||
#[repr(C)]
|
||||
pub struct OutPushConstants {
|
||||
pub pos: [[f32; 2]; 4],
|
||||
pub vertices: DeviceAddress,
|
||||
}
|
||||
|
||||
unsafe impl Packed for OutPushConstants {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue