/external/swiftshader/src/OpenGL/compiler/ |
D | TranslatorASM.cpp | 19 …orASM::TranslatorASM(glsl::Shader *shaderObject, GLenum shaderType) : TCompiler(shaderType), shade… in TranslatorASM() argument 26 glsl::OutputASM outputASM(parseContext, shaderObject); in translate()
|
D | TranslatorASM.h | 29 TranslatorASM(glsl::Shader *shaderObject, GLenum type); 35 glsl::Shader *const shaderObject;
|
D | OutputASM.cpp | 502 …utASM(TParseContext &context, Shader *shaderObject) : TIntermTraverser(true, true, true), shaderOb… in OutputASM() argument 508 if(shaderObject) in OutputASM() 510 shader = shaderObject->getShader(); in OutputASM() 511 pixelShader = shaderObject->getPixelShader(); in OutputASM() 512 vertexShader = shaderObject->getVertexShader(); in OutputASM() 2316 …for(ActiveUniformBlocks::const_iterator it = shaderObject->activeUniformBlocks.begin(); it != shad… in getBlockId() 2341 int blockArraySize = shaderObject->activeUniformBlocks[i].arraySize; in getArgumentInfo() 3198 VaryingList &activeVaryings = shaderObject->varyings; in declareVarying() 3378 ActiveAttributes &activeAttributes = shaderObject->activeAttributes; in attributeRegister() 3657 ActiveUniformBlocks &activeUniformBlocks = shaderObject->activeUniformBlocks; in blockMemberLookup() [all …]
|
D | OutputASM.h | 224 explicit OutputASM(TParseContext &context, Shader *shaderObject); 340 Shader *const shaderObject; variable
|
/external/swiftshader/src/OpenGL/libGLESv2/ |
D | ResourceManager.cpp | 163 Shader *shaderObject = mShaderNameSpace.find(shader); in deleteShader() local 165 if(shaderObject) in deleteShader() 167 if(shaderObject->getRefCount() == 0) in deleteShader() 169 delete shaderObject; in deleteShader() 175 shaderObject->flagForDeletion(); in deleteShader()
|
D | libGLESv2.cpp | 86 es2::Shader *shaderObject = context->getShader(shader); in AttachShader() local 100 if(!shaderObject) in AttachShader() 112 if(!programObject->attachShader(shaderObject)) in AttachShader() 672 es2::Shader *shaderObject = context->getShader(shader); in CompileShader() local 674 if(!shaderObject) in CompileShader() 686 shaderObject->compile(); in CompileShader() 1383 es2::Shader *shaderObject = context->getShader(shader); in DetachShader() local 1399 if(!shaderObject) in DetachShader() 1412 if(!programObject->detachShader(shaderObject)) in DetachShader() 3122 es2::Shader *shaderObject = context->getShader(shader); in GetShaderiv() local [all …]
|
/external/deqp/modules/gles2/functional/ |
D | es2fShaderApiTests.cpp | 336 const GLuint shaderObject = glCreateShader(glu::getGLShaderType(m_shaderType)); in test() local 338 TCU_CHECK(shaderObject != 0); in test() 340 glDeleteShader(shaderObject); in test() 358 bool checkCompileStatus (const GLuint shaderObject) in checkCompileStatus() argument 361 glGetShaderiv(shaderObject, GL_COMPILE_STATUS, &compileStatus); in checkCompileStatus() 370 const GLuint shaderObject = glCreateShader(glu::getGLShaderType(m_shaderType)); in test() local 372 TCU_CHECK(shaderObject != 0); in test() 374 glShaderSource(shaderObject, 1, &shaderSource, 0); in test() 375 glCompileShader(shaderObject); in test() 377 TCU_CHECK(checkCompileStatus(shaderObject)); in test() [all …]
|
D | es2fNegativeStateApiTests.cpp | 121 GLuint shaderObject = glCreateShader(GL_VERTEX_SHADER); in init() 131 glGetAttachedShaders(shaderObject, 1, &count[0], &shaders[0]); in init() 140 glDeleteShader(shaderObject); in init()
|
/external/deqp/modules/gles3/functional/ |
D | es3fShaderApiTests.cpp | 390 const GLuint shaderObject = glCreateShader(glu::getGLShaderType(m_shaderType)); in test() local 392 TCU_CHECK(shaderObject != 0); in test() 394 glDeleteShader(shaderObject); in test() 412 bool checkCompileStatus (const GLuint shaderObject) in checkCompileStatus() argument 415 glGetShaderiv(shaderObject, GL_COMPILE_STATUS, &compileStatus); in checkCompileStatus() 424 const GLuint shaderObject = glCreateShader(glu::getGLShaderType(m_shaderType)); in test() local 426 TCU_CHECK(shaderObject != 0); in test() 428 glShaderSource(shaderObject, 1, &shaderSource, 0); in test() 429 glCompileShader(shaderObject); in test() 431 TCU_CHECK(checkCompileStatus(shaderObject)); in test() [all …]
|
D | es3fNegativeStateApiTests.cpp | 185 GLuint shaderObject = glCreateShader(GL_VERTEX_SHADER); in init() 195 glGetAttachedShaders(shaderObject, 1, &count[0], &shaders[0]); in init() 204 glDeleteShader(shaderObject); in init()
|
/external/angle/src/libANGLE/ |
D | GLES1Renderer.cpp | 526 Shader *shaderObject = getShader(shader); in compileShader() local 527 ANGLE_CHECK(context, shaderObject, "Missing shader object", GL_INVALID_OPERATION); in compileShader() 529 shaderObject->setSource(1, &src, nullptr); in compileShader() 530 shaderObject->compile(context); in compileShader() 534 if (!shaderObject->isCompiled()) in compileShader() 536 GLint infoLogLength = shaderObject->getInfoLogLength(); in compileShader() 538 shaderObject->getInfoLog(infoLogLength - 1, nullptr, infoLog.data()); in compileShader()
|
D | Context.cpp | 721 Shader *shaderObject = getShader(shaderID); in createShaderProgramv() local 722 ASSERT(shaderObject); in createShaderProgramv() 723 shaderObject->setSource(count, strings, nullptr); in createShaderProgramv() 724 shaderObject->compile(this); in createShaderProgramv() 731 if (shaderObject->isCompiled()) in createShaderProgramv() 738 programObject->attachShader(this, shaderObject); in createShaderProgramv() 757 programObject->detachShader(this, shaderObject); in createShaderProgramv() 761 programInfoLog << shaderObject->getInfoLogString(); in createShaderProgramv() 5230 Shader *shaderObject = mState.mShaderProgramManager->getShader(shader); in attachShader() local 5231 ASSERT(programObject && shaderObject); in attachShader() [all …]
|
D | validationES2.cpp | 4240 Shader *shaderObject = GetValidShader(context, shader); in ValidateAttachShader() local 4241 if (!shaderObject) in ValidateAttachShader() 4246 if (programObject->getAttachedShader(shaderObject->getType()) && in ValidateAttachShader() 4247 !programObject->getState().isShaderMarkedForDetach(shaderObject->getType())) in ValidateAttachShader() 4696 Shader *shaderObject = GetValidShader(context, shader); in ValidateDetachShader() local 4697 if (!shaderObject) in ValidateDetachShader() 4702 const Shader *attachedShader = programObject->getAttachedShader(shaderObject->getType()); in ValidateDetachShader() 4703 if (attachedShader != shaderObject) in ValidateDetachShader() 4929 Shader *shaderObject = GetValidShader(context, shader); in ValidateGetShaderInfoLog() local 4930 if (!shaderObject) in ValidateGetShaderInfoLog() [all …]
|
/external/deqp/modules/gles31/functional/ |
D | es31fNegativeStateApiTests.cpp | 268 GLuint shaderObject = ctx.glCreateShader(GL_VERTEX_SHADER); in get_attached_shaders() local 278 ctx.glGetAttachedShaders(shaderObject, 1, &count[0], &shaders[0]); in get_attached_shaders() 287 ctx.glDeleteShader(shaderObject); in get_attached_shaders()
|