Adding in tracy profiler
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
#include <sophia/util/assert.hpp>
|
||||
#include <sophia/util/logger.hpp>
|
||||
#include <tracy/Tracy.hpp>
|
||||
|
||||
#include "shaders/sprite.frag.spv.h"
|
||||
#include "shaders/sprite.vert.spv.h"
|
||||
@@ -36,6 +37,7 @@ void SpriteRenderSystem::render(vk::CommandBuffer commandBuffer,
|
||||
const glm::mat4& viewProjection,
|
||||
std::span<const Instance> instances,
|
||||
std::span<const Batch> batches) {
|
||||
ZoneScoped;
|
||||
if (instances.empty()) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user