Home
last modified time | relevance | path

Searched refs:mDriverUniforms (Results 1 – 8 of 8) sorted by relevance

/external/angle/src/compiler/translator/tree_util/
DDriverUniform.cpp52 ASSERT(!mDriverUniforms); in addComputeDriverUniformsToShader()
70 mDriverUniforms = DeclareInterfaceBlock(root, symbolTable, driverFieldList, EvqUniform, in addComputeDriverUniformsToShader()
74 return mDriverUniforms != nullptr; in addComputeDriverUniformsToShader()
151 ASSERT(!mDriverUniforms); in addGraphicsDriverUniformsToShader()
167 mDriverUniforms = DeclareInterfaceBlock( in addGraphicsDriverUniformsToShader()
182 mDriverUniforms = result.second; in addGraphicsDriverUniformsToShader()
185 return mDriverUniforms != nullptr; in addGraphicsDriverUniformsToShader()
194 FindFieldIndex(mDriverUniforms->getType().getInterfaceBlock()->fields(), fieldName); in createDriverUniformRef()
198 fieldIndex = FindFieldIndex(mDriverUniforms->getType().getStruct()->fields(), fieldName); in createDriverUniformRef()
201 TIntermSymbol *angleUniformsRef = new TIntermSymbol(mDriverUniforms); in createDriverUniformRef()
DDriverUniform.h41 : mMode(mode), mDriverUniforms(nullptr), mEmulatedDepthRangeType(nullptr) in DriverUniform()
67 const TVariable *getDriverUniformsVariable() const { return mDriverUniforms; } in getDriverUniformsVariable()
75 const TVariable *mDriverUniforms; variable
/external/angle/src/compiler/translator/tree_ops/vulkan/
DRewriteInterpolateAtOffset.cpp48 const DriverUniform *mDriverUniforms = nullptr; member in sh::__anon76d3928e0111::Traverser
61 mDriverUniforms(driverUniforms), in Traverser()
111 TIntermTyped *flipXY = mDriverUniforms->getFlipXYRef(); in visitAggregate()
112 TIntermTyped *fragRotation = mDriverUniforms->getFragRotationMatrixRef(); in visitAggregate()
121 rotatedXY = mDriverUniforms->getFlipXYRef(); in visitAggregate()
/external/angle/src/compiler/translator/tree_ops/
DRewriteDfdy.cpp47 const DriverUniform *mDriverUniforms = nullptr; member in sh::__anonc708e3320111::Traverser
57 mDriverUniforms(driverUniforms), in Traverser()
135 TIntermTyped *flipXY = mDriverUniforms->getFlipXYRef(); in visitAggregateWithRotation()
136 TIntermTyped *fragRotation = mDriverUniforms->getFragRotationMatrixRef(); in visitAggregateWithRotation()
204 TIntermTyped *flipXY = mDriverUniforms->getFlipXYRef(); in visitAggregateWithoutRotation()
/external/angle/src/libANGLE/renderer/metal/
DContextMtl.mm2041 mRenderEncoder.setVertexData(mDriverUniforms, mtl::kDriverUniformsBindingIndex);
2156 mDriverUniforms.viewport[0] = glViewport.x;
2157 mDriverUniforms.viewport[1] = glViewport.y;
2158 mDriverUniforms.viewport[2] = glViewport.width;
2159 mDriverUniforms.viewport[3] = glViewport.height;
2161 mDriverUniforms.halfRenderArea[0] =
2163 mDriverUniforms.halfRenderArea[1] =
2165 mDriverUniforms.flipXY[0] = 1.0f;
2166 mDriverUniforms.flipXY[1] = mDrawFramebuffer->flipY() ? -1.0f : 1.0f;
2167 mDriverUniforms.negFlipXY[0] = mDriverUniforms.flipXY[0];
[all …]
DContextMtl.h558 DriverUniforms mDriverUniforms; variable
/external/angle/src/libANGLE/renderer/vulkan/
DContextVk.cpp605 for (DriverUniformsDescriptorSet &driverUniforms : mDriverUniforms) in onDestroy()
700 mDriverUniforms[pipeline].init(mRenderer); in initialize()
705 this, desc, &mDriverUniforms[pipeline].descriptorSetLayout)); in initialize()
727 mDriverUniforms[pipeline].descriptorSetLayout.get().getHandle())); in initialize()
4441 if (mDriverUniforms[PipelineType::Graphics].descriptorSet != VK_NULL_HANDLE) in invalidateGraphicsDescriptorSet()
4451 if (mDriverUniforms[PipelineType::Compute].descriptorSet != VK_NULL_HANDLE) in invalidateComputeDescriptorSet()
4727 ANGLE_TRY(allocateDriverUniforms(driverUniformSize, &mDriverUniforms[PipelineType::Graphics], in handleDirtyGraphicsDriverUniforms()
4830 &mDriverUniforms[PipelineType::Graphics]); in handleDirtyGraphicsDriverUniforms()
4839 &mDriverUniforms[PipelineType::Compute], &ptr, &newBuffer)); in handleDirtyComputeDriverUniforms()
4852 &mDriverUniforms[PipelineType::Compute]); in handleDirtyComputeDriverUniforms()
[all …]
DContextVk.h1063 angle::PackedEnumMap<PipelineType, DriverUniformsDescriptorSet> mDriverUniforms; variable