Home
last modified time | relevance | path

Searched refs:shaderObject (Results 1 – 11 of 11) sorted by relevance

/external/swiftshader/src/OpenGL/compiler/
DTranslatorASM.cpp19 …orASM::TranslatorASM(glsl::Shader *shaderObject, GLenum shaderType) : TCompiler(shaderType), shade… in TranslatorASM() argument
26 glsl::OutputASM outputASM(parseContext, shaderObject); in translate()
DTranslatorASM.h29 TranslatorASM(glsl::Shader *shaderObject, GLenum type);
35 glsl::Shader *const shaderObject;
DOutputASM.cpp502 …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()
2312 …for(ActiveUniformBlocks::const_iterator it = shaderObject->activeUniformBlocks.begin(); it != shad… in getBlockId()
2337 int blockArraySize = shaderObject->activeUniformBlocks[i].arraySize; in getArgumentInfo()
3175 VaryingList &activeVaryings = shaderObject->varyings; in declareVarying()
3347 ActiveAttributes &activeAttributes = shaderObject->activeAttributes; in attributeRegister()
3591 ActiveUniformBlocks &activeUniformBlocks = shaderObject->activeUniformBlocks; in blockMemberLookup()
[all …]
DOutputASM.h224 explicit OutputASM(TParseContext &context, Shader *shaderObject);
338 Shader *const shaderObject; variable
/external/swiftshader/src/OpenGL/libGLESv2/
DResourceManager.cpp163 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()
DlibGLESv2.cpp86 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()
3129 es2::Shader *shaderObject = context->getShader(shader); in GetShaderiv() local
[all …]
/external/deqp/modules/gles2/functional/
Des2fShaderApiTests.cpp336 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 …]
Des2fNegativeStateApiTests.cpp121 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/
Des3fShaderApiTests.cpp390 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 …]
Des3fNegativeStateApiTests.cpp185 GLuint shaderObject = glCreateShader(GL_VERTEX_SHADER); in init()
195 glGetAttachedShaders(shaderObject, 1, &count[0], &shaders[0]); in init()
204 glDeleteShader(shaderObject); in init()
/external/deqp/modules/gles31/functional/
Des31fNegativeStateApiTests.cpp268 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()