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.
This commit is contained in:
ReinUsesLisp 2019-05-27 00:52:49 -03:00
parent 84928e6d67
commit 21c0b4dec8

View file

@ -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() {