shaders/view-convert: remove some debugging colours
authorMatthew Waters <matthew@centricular.com>
Thu, 22 Aug 2019 01:47:29 +0000 (11:47 +1000)
committerMatthew Waters <matthew@centricular.com>
Thu, 22 Aug 2019 01:50:51 +0000 (11:50 +1000)
Fixes left and right output modes.

ext/vulkan/shaders/view_convert.frag

index 1ac1e71..be19968 100644 (file)
@@ -38,10 +38,8 @@ void main()
     }
   } else if (output_type == VIEW_MONO_LEFT) {
     outColor0 = swizzle(l, out_reorder_idx);
-    outColor0 = vec4(1.0, 0.0, 1.0, 1.0);
   } else if (output_type == VIEW_MONO_RIGHT) {
     outColor0 = swizzle(r, out_reorder_idx);
-    outColor0 = vec4(0.0, 0.0, 1.0, 1.0);
   } else if (output_type == VIEW_SIDE_BY_SIDE) {
     if (inTexCoord.x < 0.5) {
       outColor0 = swizzle(l, out_reorder_idx);