mirror of
https://github.com/simple64/simple64.git
synced 2026-11-13 04:28:42 +01:00
update parallel rdp
This commit is contained in:
1 parent
37f61aef57
commit
b96f789d1a
108 files changed
+58317
-109283
No files matched your search
@@ -1,4 +1,4 @@
|
||||
/* Copyright (c) 2017-2020 Hans-Kristian Arntzen
|
||||
/* Copyright (c) 2017-2022 Hans-Kristian Arntzen
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining
|
||||
* a copy of this software and associated documentation files (the
|
||||
@@ -315,6 +315,11 @@ public:
|
||||
VkPipelineStageFlags src_stage, VkAccessFlags src_access, VkPipelineStageFlags dst_stage,
|
||||
VkAccessFlags dst_access);
|
||||
|
||||
void buffer_barriers(VkPipelineStageFlags src_stages, VkPipelineStageFlags dst_stages,
|
||||
unsigned buffer_barriers, const VkBufferMemoryBarrier *buffers);
|
||||
void image_barriers(VkPipelineStageFlags src_stages, VkPipelineStageFlags dst_stages,
|
||||
unsigned image_barriers, const VkImageMemoryBarrier *images);
|
||||
|
||||
void blit_image(const Image &dst,
|
||||
const Image &src,
|
||||
const VkOffset3D &dst_offset0, const VkOffset3D &dst_extent,
|
||||
@@ -353,6 +358,7 @@ public:
|
||||
#endif
|
||||
|
||||
void set_buffer_view(unsigned set, unsigned binding, const BufferView &view);
|
||||
void set_storage_buffer_view(unsigned set, unsigned binding, const BufferView &view);
|
||||
void set_input_attachments(unsigned set, unsigned start_binding);
|
||||
void set_texture(unsigned set, unsigned binding, const ImageView &view);
|
||||
void set_unorm_texture(unsigned set, unsigned binding, const ImageView &view);
|
||||
@@ -583,6 +589,11 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
inline void set_specialization_constant(unsigned index, bool value)
|
||||
{
|
||||
set_specialization_constant(index, uint32_t(value));
|
||||
}
|
||||
|
||||
void set_surface_transform_specialization_constants(unsigned base_index);
|
||||
|
||||
inline void enable_subgroup_size_control(bool subgroup_control_size)
|
||||
@@ -664,8 +675,10 @@ public:
|
||||
void end_debug_channel();
|
||||
|
||||
void extract_pipeline_state(DeferredPipelineCompile &compile) const;
|
||||
static VkPipeline build_graphics_pipeline(Device *device, const DeferredPipelineCompile &compile);
|
||||
static VkPipeline build_compute_pipeline(Device *device, const DeferredPipelineCompile &compile);
|
||||
static VkPipeline build_graphics_pipeline(Device *device, const DeferredPipelineCompile &compile,
|
||||
bool synchronous = true);
|
||||
static VkPipeline build_compute_pipeline(Device *device, const DeferredPipelineCompile &compile,
|
||||
bool synchronous = true);
|
||||
|
||||
bool flush_pipeline_state_without_blocking();
|
||||
|
||||
@@ -747,6 +760,7 @@ private:
|
||||
void set_texture(unsigned set, unsigned binding, VkImageView float_view, VkImageView integer_view,
|
||||
VkImageLayout layout,
|
||||
uint64_t cookie);
|
||||
void set_buffer_view_common(unsigned set, unsigned binding, const BufferView &view);
|
||||
|
||||
void init_viewport_scissor(const RenderPassInfo &info, const Framebuffer *framebuffer);
|
||||
void init_surface_transform(const RenderPassInfo &info);
|
||||
|
||||
Reference in new issue
Block a user