Validate OpenGL texture binding slots
This commit is contained in:
@@ -53,6 +53,8 @@ struct OpenGlPlannedCommand {
|
||||
pp::renderer::ReadbackRegion readback_region;
|
||||
pp::renderer::ReadbackRegion source_region;
|
||||
pp::renderer::ReadbackRegion destination_region;
|
||||
std::uint32_t texture_slot = 0;
|
||||
std::uint32_t sampler_slot = 0;
|
||||
std::uint64_t upload_bytes = 0;
|
||||
std::uint32_t generated_mip_levels = 0;
|
||||
std::uint64_t generated_mip_bytes = 0;
|
||||
@@ -79,6 +81,8 @@ struct OpenGlCommandPlan {
|
||||
std::uint32_t draw_command_count = 0;
|
||||
std::uint32_t shader_bind_command_count = 0;
|
||||
std::uint32_t uniform_command_count = 0;
|
||||
std::uint32_t texture_bind_command_count = 0;
|
||||
std::uint32_t sampler_bind_command_count = 0;
|
||||
std::uint32_t upload_command_count = 0;
|
||||
std::uint32_t mipmap_command_count = 0;
|
||||
std::uint32_t transition_command_count = 0;
|
||||
|
||||
Reference in New Issue
Block a user