Przeglądaj źródła

gl_device: Add commentary to AOFFI unit test source code

The intention behind this commit is to hint someone inspecting an
apitrace dump to ignore this ill-formed GLSL code.
ReinUsesLisp 7 lat temu
rodzic
commit
21c0b4dec8
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      src/video_core/renderer_opengl/gl_device.cpp

+ 1 - 0
src/video_core/renderer_opengl/gl_device.cpp

@@ -35,6 +35,7 @@ Device::Device(std::nullptr_t) {
 
 bool Device::TestVariableAoffi() {
     const GLchar* AOFFI_TEST = R"(#version 430 core
+// This is a unit test, please ignore me on apitrace bug reports.
 uniform sampler2D tex;
 uniform ivec2 variable_offset;
 void main() {