Rename various things for more inclusive language
[platform/upstream/VK-GL-CTS.git] / modules / gles31 / functional / es31fNegativeShaderApiTests.cpp
index e82734a..2159613 100644 (file)
@@ -506,7 +506,7 @@ void program_binary (NegativeTestContext& ctx)
 {
        glu::ShaderProgram              srcProgram              (ctx.getRenderContext(), glu::makeVtxFragSources(vertexShaderSource, fragmentShaderSource));
        GLuint                                  dstProgram              = ctx.glCreateProgram();
-       GLuint                                  dummyShader             = ctx.glCreateShader(GL_VERTEX_SHADER);
+       GLuint                                  unusedShader            = ctx.glCreateShader(GL_VERTEX_SHADER);
        GLenum                                  binaryFormat    = -1;
        GLsizei                                 binaryLength    = -1;
        std::vector<deUint8>    binaryBuf;
@@ -526,7 +526,7 @@ void program_binary (NegativeTestContext& ctx)
                ctx.expectError                 (GL_NO_ERROR);
 
                ctx.beginSection("GL_INVALID_OPERATION is generated if program is not the name of an existing program object.");
-               ctx.glProgramBinary             (dummyShader, binaryFormat, &binaryBuf[0], binaryLength);
+               ctx.glProgramBinary             (unusedShader, binaryFormat, &binaryBuf[0], binaryLength);
                ctx.expectError                 (GL_INVALID_OPERATION);
                ctx.endSection();
 
@@ -536,7 +536,7 @@ void program_binary (NegativeTestContext& ctx)
                ctx.endSection();
        }
 
-       ctx.glDeleteShader(dummyShader);
+       ctx.glDeleteShader(unusedShader);
        ctx.glDeleteProgram(dstProgram);
 }