Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/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()
2314 …for(ActiveUniformBlocks::const_iterator it = shaderObject->activeUniformBlocks.begin(); it != shad… in getBlockId()
2339 int blockArraySize = shaderObject->activeUniformBlocks[i].arraySize; in getArgumentInfo()
3210 VaryingList &activeVaryings = shaderObject->varyings; in declareVarying()
3390 ActiveAttributes &activeAttributes = shaderObject->activeAttributes; in attributeRegister()
3669 ActiveUniformBlocks &activeUniformBlocks = shaderObject->activeUniformBlocks; in blockMemberLookup()
[all …]
DOutputASM.h224 explicit OutputASM(TParseContext &context, Shader *shaderObject);
340 Shader *const shaderObject; variable
/third_party/skia/third_party/externals/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()
3122 es2::Shader *shaderObject = context->getShader(shader); in GetShaderiv() local
[all …]
/third_party/vk-gl-cts/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()
/third_party/vk-gl-cts/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()
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DGLES1Renderer.cpp555 Shader *shaderObject = getShader(shader); in compileShader() local
556 ANGLE_CHECK(context, shaderObject, "Missing shader object", GL_INVALID_OPERATION); in compileShader()
558 shaderObject->setSource(1, &src, nullptr); in compileShader()
559 shaderObject->compile(context); in compileShader()
563 if (!shaderObject->isCompiled()) in compileShader()
565 GLint infoLogLength = shaderObject->getInfoLogLength(); in compileShader()
567 shaderObject->getInfoLog(infoLogLength - 1, nullptr, infoLog.data()); in compileShader()
DContext.cpp887 Shader *shaderObject = getShader(shaderID); in createShaderProgramv() local
888 ASSERT(shaderObject); in createShaderProgramv()
889 shaderObject->setSource(count, strings, nullptr); in createShaderProgramv()
890 shaderObject->compile(this); in createShaderProgramv()
897 if (shaderObject->isCompiled()) in createShaderProgramv()
904 programObject->attachShader(shaderObject); in createShaderProgramv()
925 programObject->detachShader(this, shaderObject); in createShaderProgramv()
930 programInfoLog << shaderObject->getInfoLogString(); in createShaderProgramv()
6080 Shader *shaderObject = mState.mShaderProgramManager->getShader(shader); in attachShader() local
6081 ASSERT(programObject && shaderObject); in attachShader()
[all …]
DvalidationES2.cpp3707 Shader *shaderObject = GetValidShader(context, entryPoint, shader); in ValidateAttachShader() local
3708 if (!shaderObject) in ValidateAttachShader()
3713 if (programObject->getAttachedShader(shaderObject->getType())) in ValidateAttachShader()
4179 Shader *shaderObject = GetValidShader(context, entryPoint, shader); in ValidateDetachShader() local
4180 if (!shaderObject) in ValidateDetachShader()
4185 const Shader *attachedShader = programObject->getAttachedShader(shaderObject->getType()); in ValidateDetachShader()
4186 if (attachedShader != shaderObject) in ValidateDetachShader()
4449 Shader *shaderObject = GetValidShader(context, entryPoint, shader); in ValidateGetShaderInfoLog() local
4450 if (!shaderObject) in ValidateGetShaderInfoLog()
4510 Shader *shaderObject = GetValidShader(context, entryPoint, shader); in ValidateGetShaderSource() local
[all …]
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fNegativeStateApiTests.cpp303 GLuint shaderObject = ctx.glCreateShader(GL_VERTEX_SHADER); in get_attached_shaders() local
313 ctx.glGetAttachedShaders(shaderObject, 1, &count[0], &shaders[0]); in get_attached_shaders()
322 ctx.glDeleteShader(shaderObject); in get_attached_shaders()
/third_party/vulkan-headers/include/vulkan/
Dvulkan_structs.hpp73816 , shaderObject( shaderObject_ )
73845 shaderObject = shaderObject_; in setShaderObject()
73868 return std::tie( sType, pNext, shaderObject ); in reflect()
73880 … return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( shaderObject == rhs.shaderObject ); in operator ==()
73893 VULKAN_HPP_NAMESPACE::Bool32 shaderObject = {}; member
Dvulkan_core.h16498 VkBool32 shaderObject; member
Dvulkan_hash.hpp10127 VULKAN_HPP_HASH_COMBINE( seed, physicalDeviceShaderObjectFeaturesEXT.shaderObject ); in operator ()()