Explorar el Código

[BUGFIX] Fix the test in the previous commit

Panagiotis Christopoulos Charitos hace 8 años
padre
commit
22d4a1dab7
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      tests/gr/Gr.cpp

+ 1 - 0
tests/gr/Gr.cpp

@@ -1901,6 +1901,7 @@ void main()
 	cmdb->bindShaderProgram(prog);
 	cmdb->bindTextureAndSampler(0, 0, texView, sampler, TextureUsageBit::SAMPLED_COMPUTE);
 	cmdb->bindStorageBuffer(0, 0, resultBuff, 0, resultBuff->getSize());
+	cmdb->dispatchCompute(1, 1, 1);
 
 	cmdb->setBufferBarrier(resultBuff,
 		BufferUsageBit::STORAGE_COMPUTE_WRITE,