Adding in tracy profiler
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
#include "renderer/model_render_system.hpp"
|
||||
|
||||
#include <sophia/util/assert.hpp>
|
||||
#include <tracy/Tracy.hpp>
|
||||
|
||||
#include "shaders/model_render_system.frag.spv.h"
|
||||
#include "shaders/model_render_system.vert.spv.h"
|
||||
@@ -44,6 +45,7 @@ ModelRenderSystem::~ModelRenderSystem() {
|
||||
void ModelRenderSystem::render(vk::CommandBuffer commandBuffer,
|
||||
std::span<const MeshInstance> instances,
|
||||
const FrameInfo& frameInfo) {
|
||||
ZoneScoped;
|
||||
glm::mat4 viewProjection = frameInfo.camera.getViewProjection();
|
||||
|
||||
this->graphicsPipeline->bind(commandBuffer);
|
||||
|
||||
Reference in New Issue
Block a user