0030476: Visualization, Path Tracing - Adaptive Screen Sampling leads to unstable...
[occt.git] / src / Shaders / Shaders_Display_fs.pxx
index 281fdcc..5919399 100644 (file)
@@ -8,10 +8,10 @@ static const char Shaders_Display_fs[] =
   "  #extension GL_ARB_shader_image_size : enable\n"
   "\n"
   "  //! OpenGL image used for accumulating rendering result.\n"
-  "  volatile restrict layout(size1x32) uniform image2D uRenderImage;\n"
+  "  volatile restrict layout(r32f) uniform image2D uRenderImage;\n"
   "\n"
   "  //! OpenGL image storing variance of sampled pixels blocks.\n"
-  "  volatile restrict layout(size1x32) uniform iimage2D uVarianceImage;\n"
+  "  volatile restrict layout(r32i) uniform iimage2D uVarianceImage;\n"
   "\n"
   "  //! Scale factor used to quantize visual error (float) into signed integer.\n"
   "  uniform float uVarianceScaleFactor;\n"