/external/swiftshader/src/Renderer/ |
D | Context.cpp | 304 vertexShader = 0; in init() 495 if(vertexShader) in pointSizeActive() 542 if(vertexShader) in vertexLightingActive() 554 if(vertexShader) in texCoordActive() 558 if(vertexShader->getOutput(T0 + coordinate, component).usage == Shader::USAGE_TEXCOORD) in texCoordActive() 646 if(vertexShader) in vertexNormalActive() 656 if(vertexShader) in vertexLightActive() 666 if(vertexShader) in vertexDiffuseMaterialSourceActive() 683 if(vertexShader) in vertexSpecularMaterialSourceActive() 700 if(vertexShader) in vertexAmbientMaterialSourceActive() [all …]
|
D | VertexProcessor.cpp | 767 return !context->vertexShader; in isFixedFunction() 937 if(context->vertexShader) in update() 939 state.shaderID = context->vertexShader->getSerialID(); in update() 946 state.fixedFunction = !context->vertexShader && context->pixelShaderModel() < 0x0300; in update() 947 …state.textureSampling = context->vertexShader ? context->vertexShader->containsTextureSampling() :… in update() 948 …state.positionRegister = context->vertexShader ? context->vertexShader->getPositionRegister() : Po… in update() 949 …state.pointSizeRegister = context->vertexShader ? context->vertexShader->getPointSizeRegister() : … in update() 996 …state.input[i].attribType = context->vertexShader ? context->vertexShader->getAttribType(i) : Vert… in update() 999 if(!context->vertexShader) in update() 1013 if(context->vertexShader->usesSampler(i)) in update() [all …]
|
D | SetupProcessor.cpp | 95 if(context->vertexShader) in update() 97 state.positionRegister = context->vertexShader->getPositionRegister(); in update() 98 state.pointSizeRegister = context->vertexShader->getPointSizeRegister(); in update() 123 if(context->vertexShader && context->pixelShader) in update() 137 if(semantic == context->vertexShader->getOutput(i, component - project)) in update()
|
/external/deqp/framework/randomshaders/ |
D | rsgTest.cpp | 50 rsg::Shader vertexShader(rsg::Shader::TYPE_VERTEX); in runTest() local 54 generator.generate(programParams, vertexShader, fragmentShader); in runTest() 56 std::cout << "Vertex shader:\n--\n" << vertexShader.getSource() << "--\n"; in runTest() 63 rsg::computeUnifiedUniforms(vertexShader, fragmentShader, uniforms); in runTest() 70 executor.execute(vertexShader, fragmentShader, uniformValues); in runTest()
|
D | rsgProgramGenerator.cpp | 43 Shader& vertexShader, in generate() argument 65 shaderGen.generate(programParams.vertexParameters, vertexShader, fragmentInputs); in generate() 70 const vector<ShaderInput*>& vertexUniforms = vertexShader.getUniforms(); in generate()
|
/external/swiftshader/src/Device/ |
D | VertexProcessor.cpp | 68 …update(const vk::GraphicsState &pipelineState, const sw::SpirvShader *vertexShader, const vk::Inpu… in update() argument 72 state.shaderID = vertexShader->getSerialID(); in update() 82 state.input[i].attribType = vertexShader->inputs[i * 4].Type; in update() 92 SpirvShader const *vertexShader, in routine() argument 99 VertexRoutine *generator = new VertexProgram(state, pipelineLayout, vertexShader, descriptorSets); in routine()
|
D | SetupProcessor.cpp | 58 …eState, const sw::SpirvShader *fragmentShader, const sw::SpirvShader *vertexShader, const vk::Atta… in update() argument 81 state.numClipDistances = vertexShader->getNumOutputClipDistances(); in update() 82 state.numCullDistances = vertexShader->getNumOutputCullDistances(); in update()
|
D | VertexProcessor.hpp | 97 …const State update(const vk::GraphicsState &pipelineState, const sw::SpirvShader *vertexShader, co… 99 … SpirvShader const *vertexShader, const vk::DescriptorSet::Bindings &descriptorSets);
|
D | PixelProcessor.cpp | 85 …eState, const sw::SpirvShader *fragmentShader, const sw::SpirvShader *vertexShader, const vk::Atta… in update() argument 89 state.numClipDistances = vertexShader->getNumOutputClipDistances(); in update() 90 state.numCullDistances = vertexShader->getNumOutputCullDistances(); in update()
|
/external/angle/src/tests/test_utils/ |
D | gl_raii.h | 175 void makeRaster(const char *vertexShader, const char *fragmentShader) in makeRaster() argument 177 mHandle = CompileProgram(vertexShader, fragmentShader); in makeRaster() 180 void makeRaster(const char *vertexShader, in makeRaster() argument 184 mHandle = CompileProgramWithGS(vertexShader, geometryShader, fragmentShader); in makeRaster() 187 void makeRaster(const char *vertexShader, in makeRaster() argument 192 mHandle = CompileProgramWithTESS(vertexShader, tessControlShader, tessEvaluateShader, in makeRaster() 196 void makeRasterWithTransformFeedback(const char *vertexShader, in makeRasterWithTransformFeedback() argument 201 mHandle = CompileProgramWithTransformFeedback(vertexShader, fragmentShader, tfVaryings, in makeRasterWithTransformFeedback()
|
/external/deqp/modules/glshared/ |
D | glsRandomShaderProgram.cpp | 70 …ation (sglr::pdec::ShaderProgramDeclaration& decl, const rsg::Shader& vertexShader, const rsg::Sha… in generateProgramDeclaration() argument 72 decl << sglr::pdec::VertexSource(vertexShader.getSource()) in generateProgramDeclaration() 75 …rsg::ShaderInput*>::const_iterator vtxInIter = vertexShader.getInputs().begin(); vtxInIter != vert… in generateProgramDeclaration() 96 …aderProgramDeclaration generateProgramDeclaration (const rsg::Shader& vertexShader, const rsg::Sha… in generateProgramDeclaration() argument 99 …generateProgramDeclaration(decl, vertexShader, fragmentShader, numUnifiedUniforms, unifiedUniforms… in generateProgramDeclaration() 131 RandomShaderProgram::RandomShaderProgram (const rsg::Shader& vertexShader, const rsg::Shader& fragm… in RandomShaderProgram() argument 132 …: sglr::ShaderProgram (generateProgramDeclaration(vertexShader, fragmentShader, numUnifiedUniforms… in RandomShaderProgram() 133 , m_vertexShader (vertexShader) in RandomShaderProgram() 137 , m_positionVar (findShaderOutputByName(vertexShader, "gl_Position")) in RandomShaderProgram() 148 …const rsg::Variable* vertexOutput = findShaderOutputByName(vertexShader, fragInput->getVariable()-… in RandomShaderProgram()
|
/external/swiftshader/src/OpenGL/libGLESv2/ |
D | Shader.cpp | 394 vertexShader = 0; in VertexShader() 399 delete vertexShader; in ~VertexShader() 425 return vertexShader; in getShader() 430 return vertexShader; in getVertexShader() 435 delete vertexShader; in createShader() 436 vertexShader = new sw::VertexShader(); in createShader() 441 delete vertexShader; in deleteShader() 442 vertexShader = nullptr; in deleteShader()
|
D | Program.cpp | 139 vertexShader = 0; in Program() 161 if(vertexShader) in ~Program() 163 vertexShader->release(); in ~Program() 176 if(vertexShader) in attachShader() 181 vertexShader = (VertexShader*)shader; in attachShader() 182 vertexShader->addRef(); in attachShader() 203 if(vertexShader != shader) in detachShader() 208 vertexShader->release(); in detachShader() 209 vertexShader = 0; in detachShader() 228 return (vertexShader ? 1 : 0) + (fragmentShader ? 1 : 0); in getAttachedShadersCount() [all …]
|
/external/deqp/modules/egl/ |
D | teglSwapBuffersTests.cpp | 137 deUint32 vertexShader = 0; in createGLES2Program() local 150 vertexShader = gl.createShader(GL_VERTEX_SHADER); in createGLES2Program() 155 gl.shaderSource(vertexShader, 1, &vertexShaderSource, DE_NULL); in createGLES2Program() 156 gl.compileShader(vertexShader); in createGLES2Program() 166 gl.getShaderiv(vertexShader, GL_COMPILE_STATUS, &vertexCompileStatus); in createGLES2Program() 167 gl.getShaderiv(vertexShader, GL_INFO_LOG_LENGTH, &infoLogLength); in createGLES2Program() 171 …gl.getShaderInfoLog(vertexShader, (glw::GLsizei)vertexInfoLog.length(), &infoLogLength, &(vertexIn… in createGLES2Program() 191 gl.attachShader(program, vertexShader); in createGLES2Program() 221 gl.deleteShader(vertexShader); in createGLES2Program() 232 if (vertexShader) in createGLES2Program() [all …]
|
D | teglNativeColorMappingTests.cpp | 105 deUint32 vertexShader = 0; in createGLES2Program() local 118 vertexShader = gl.createShader(GL_VERTEX_SHADER); in createGLES2Program() 123 gl.shaderSource(vertexShader, 1, &vertexShaderSource, DE_NULL); in createGLES2Program() 124 gl.compileShader(vertexShader); in createGLES2Program() 134 gl.getShaderiv(vertexShader, GL_COMPILE_STATUS, &vertexCompileStatus); in createGLES2Program() 135 gl.getShaderiv(vertexShader, GL_INFO_LOG_LENGTH, &infoLogLength); in createGLES2Program() 139 …gl.getShaderInfoLog(vertexShader, (glw::GLsizei)vertexInfoLog.length(), &infoLogLength, &(vertexIn… in createGLES2Program() 159 gl.attachShader(program, vertexShader); in createGLES2Program() 189 gl.deleteShader(vertexShader); in createGLES2Program() 200 if (vertexShader) in createGLES2Program() [all …]
|
D | teglNativeCoordMappingTests.cpp | 105 deUint32 vertexShader = 0; in createGLES2Program() local 118 vertexShader = gl.createShader(GL_VERTEX_SHADER); in createGLES2Program() 123 gl.shaderSource(vertexShader, 1, &vertexShaderSource, DE_NULL); in createGLES2Program() 124 gl.compileShader(vertexShader); in createGLES2Program() 134 gl.getShaderiv(vertexShader, GL_COMPILE_STATUS, &vertexCompileStatus); in createGLES2Program() 135 gl.getShaderiv(vertexShader, GL_INFO_LOG_LENGTH, &infoLogLength); in createGLES2Program() 139 …gl.getShaderInfoLog(vertexShader, (glw::GLsizei)vertexInfoLog.length(), &infoLogLength, &(vertexIn… in createGLES2Program() 159 gl.attachShader(program, vertexShader); in createGLES2Program() 189 gl.deleteShader(vertexShader); in createGLES2Program() 200 if (vertexShader) in createGLES2Program() [all …]
|
D | teglGetFrameTimestampsTests.cpp | 373 deUint32 vertexShader = 0; in createGLES2Program() local 386 vertexShader = gl.createShader(GL_VERTEX_SHADER); in createGLES2Program() 391 gl.shaderSource(vertexShader, 1, &vertexShaderSource, DE_NULL); in createGLES2Program() 392 gl.compileShader(vertexShader); in createGLES2Program() 402 gl.getShaderiv(vertexShader, GL_COMPILE_STATUS, &vertexCompileStatus); in createGLES2Program() 403 gl.getShaderiv(vertexShader, GL_INFO_LOG_LENGTH, &infoLogLength); in createGLES2Program() 407 …gl.getShaderInfoLog(vertexShader, (glw::GLsizei)vertexInfoLog.length(), &infoLogLength, &(vertexIn… in createGLES2Program() 427 gl.attachShader(program, vertexShader); in createGLES2Program() 457 gl.deleteShader(vertexShader); in createGLES2Program() 468 if (vertexShader) in createGLES2Program() [all …]
|
/external/webrtc/sdk/objc/components/renderer/opengl/ |
D | RTCShader.mm | 68 GLuint RTCCreateProgram(GLuint vertexShader, GLuint fragmentShader) { 69 if (vertexShader == 0 || fragmentShader == 0) { 76 glAttachShader(program, vertexShader); 91 GLuint vertexShader = RTCCreateShader(GL_VERTEX_SHADER, kRTCVertexShaderSource); 92 RTC_CHECK(vertexShader) << "failed to create vertex shader"; 96 GLuint program = RTCCreateProgram(vertexShader, fragmentShader); 98 if (vertexShader) { 99 glDeleteShader(vertexShader);
|
/external/swiftshader/tests/VulkanBenchmarks/ |
D | TriangleBenchmarks.cpp | 61 const char *vertexShader = R"(#version 310 es in TriangleSolidColor() local 69 return tester.createShaderModule(vertexShader, EShLanguage::EShLangVertex); in TriangleSolidColor() 114 const char *vertexShader = R"(#version 310 es in TriangleInterpolateColor() local 126 return tester.createShaderModule(vertexShader, EShLanguage::EShLangVertex); in TriangleInterpolateColor() 173 const char *vertexShader = R"(#version 310 es in TriangleSampleTexture() local 184 return tester.createShaderModule(vertexShader, EShLanguage::EShLangVertex); in TriangleSampleTexture()
|
/external/webrtc/sdk/android/src/java/org/webrtc/ |
D | GlGenericDrawer.java | 127 private final String vertexShader; field in GlGenericDrawer 140 String vertexShader, String genericFragmentSource, ShaderCallbacks shaderCallbacks) { in GlGenericDrawer() argument 141 this.vertexShader = vertexShader; in GlGenericDrawer() 149 vertexShader, createFragmentShaderString(genericFragmentSource, shaderType)); in createShader()
|
/external/deqp/modules/gles2/performance/ |
D | es2pDrawCallBatchingTests.cpp | 200 std::ostringstream vertexShader; in createShader() local 204 vertexShader << "attribute mediump vec4 a_static" << attributeNdx << ";\n"; in createShader() 207 vertexShader << "\n"; in createShader() 210 vertexShader << "attribute mediump vec4 a_dyn" << attributeNdx << ";\n"; in createShader() 212 vertexShader in createShader() 219 vertexShader << "\tv_color = "; in createShader() 226 vertexShader << " + "; in createShader() 229 vertexShader << "a_static" << attributeNdx; in createShader() 235 vertexShader << " + "; in createShader() 238 vertexShader << "a_dyn" << attributeNdx; in createShader() [all …]
|
/external/swiftshader/src/Vulkan/ |
D | VkPipeline.cpp | 168 vertexShader.reset(); in destroyPipeline() 184 return (vertexShader.get() && vertexShader->containsImageWrite()) || in containsImageWrite() 193 ASSERT(vertexShader.get() == nullptr); in setShader() 194 vertexShader = spirvShader; in setShader() 213 return vertexShader; in getShader()
|
/external/webrtc/sdk/android/api/org/webrtc/ |
D | GlShader.java | 42 final int vertexShader = compileShader(GLES20.GL_VERTEX_SHADER, vertexSource); in GlShader() local 48 GLES20.glAttachShader(program, vertexShader); in GlShader() 64 GLES20.glDeleteShader(vertexShader); in GlShader()
|
/external/swiftshader/tests/VulkanUnitTests/ |
D | DrawTests.cpp | 48 const char *vertexShader = R"(#version 310 es in TEST_F() local 57 return tester.createShaderModule(vertexShader, EShLanguage::EShLangVertex); in TEST_F()
|
/external/deqp/external/openglcts/modules/common/ |
D | glcParallelShaderCompileTests.cpp | 253 Shader vertexShader(gl, SHADERTYPE_VERTEX); in iterate() local 268 vertexShader.setSources(2, vSources, vLengths); in iterate() 278 gl.compileShader(vertexShader.getShader()); in iterate() 315 gl.attachShader(program[i], vertexShader.getShader()); in iterate()
|