Skip to content

Commit

Permalink
Update Renderer.h
Browse files Browse the repository at this point in the history
  • Loading branch information
shg8 authored Mar 14, 2024
1 parent f4656e8 commit d37ba6a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/Renderer.h
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,11 @@ class Renderer {

std::vector<vk::UniqueSemaphore> renderFinishedSemaphores;

uint32_t numRadixSortBlocksPerWorkgroup = __APPLE__ ? 256 : 32;
#ifdef __APPLE__
uint32_t numRadixSortBlocksPerWorkgroup = 256;
#else
uint32_t numRadixSortBlocksPerWorkgroup = 32;
#endif

int fpsCounter = 0;
std::chrono::high_resolution_clock::time_point lastFpsTime = std::chrono::high_resolution_clock::now();
Expand Down

0 comments on commit d37ba6a

Please sign in to comment.