unbind sampler object in compute shader renderer

This commit is contained in:
RSDuck 2023-05-14 22:37:52 +02:00
parent a631a33239
commit 8b1722b67a

View File

@ -956,6 +956,8 @@ void ComputeRenderer::RenderFrame()
glDispatchCompute(ScreenWidth/32, ScreenHeight, 1);
glMemoryBarrier(GL_SHADER_IMAGE_ACCESS_BARRIER_BIT);
glBindSampler(0, 0);
/*u64 starttime = armGetSystemTick();
EmuQueue.waitIdle();
printf("total time %f\n", armTicksToNs(armGetSystemTick()-starttime)*0.000001f);*/