Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_util/
DDriverUniform.cpp52 ASSERT(!mDriverUniforms); in addComputeDriverUniformsToShader()
73 mDriverUniforms = DeclareInterfaceBlock(root, symbolTable, driverFieldList, EvqUniform, in addComputeDriverUniformsToShader()
77 return mDriverUniforms != nullptr; in addComputeDriverUniformsToShader()
152 ASSERT(!mDriverUniforms); in addGraphicsDriverUniformsToShader()
171 mDriverUniforms = DeclareInterfaceBlock(root, symbolTable, driverFieldList, EvqUniform, in addGraphicsDriverUniformsToShader()
186 mDriverUniforms = result.second; in addGraphicsDriverUniformsToShader()
189 return mDriverUniforms != nullptr; in addGraphicsDriverUniformsToShader()
198 FindFieldIndex(mDriverUniforms->getType().getInterfaceBlock()->fields(), fieldName); in createDriverUniformRef()
202 fieldIndex = FindFieldIndex(mDriverUniforms->getType().getStruct()->fields(), fieldName); in createDriverUniformRef()
205 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
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/vulkan/
DRewriteInterpolateAtOffset.cpp47 const DriverUniform *mDriverUniforms = nullptr; member in sh::__anon05f66b0c0111::Traverser
60 mDriverUniforms(driverUniforms), in Traverser()
113 TIntermTyped *fragRotation = mDriverUniforms->getFragRotationMatrixRef(); in visitAggregate()
116 rotatedXY = mDriverUniforms->getFlipXYRef(); in visitAggregate()
125 rotatedXY = mDriverUniforms->getFlipXYRef(); in visitAggregate()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/
DRewriteDfdy.cpp46 const DriverUniform *mDriverUniforms = nullptr; member in sh::__anon96d279300111::Traverser
56 mDriverUniforms(driverUniforms), in Traverser()
134 TIntermTyped *flipXY = mDriverUniforms->getFlipXYRef(); in visitAggregateWithRotation()
135 TIntermTyped *fragRotation = mDriverUniforms->getFragRotationMatrixRef(); in visitAggregateWithRotation()
203 TIntermTyped *flipXY = mDriverUniforms->getFlipXYRef(); in visitAggregateWithoutRotation()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/
DContextMtl.mm2143 mRenderEncoder.setVertexData(mDriverUniforms, mtl::kDriverUniformsBindingIndex);
2258 mDriverUniforms.viewport[0] = glViewport.x;
2259 mDriverUniforms.viewport[1] = glViewport.y;
2260 mDriverUniforms.viewport[2] = glViewport.width;
2261 mDriverUniforms.viewport[3] = glViewport.height;
2263 mDriverUniforms.halfRenderArea[0] =
2265 mDriverUniforms.halfRenderArea[1] =
2267 mDriverUniforms.flipXY[0] = 1.0f;
2268 mDriverUniforms.flipXY[1] = mDrawFramebuffer->flipY() ? -1.0f : 1.0f;
2269 mDriverUniforms.negFlipXY[0] = mDriverUniforms.flipXY[0];
[all …]
DContextMtl.h576 DriverUniforms mDriverUniforms; variable
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DContextVk.cpp725 for (DriverUniformsDescriptorSet &driverUniforms : mDriverUniforms) in onDestroy()
814 mDriverUniforms[pipeline].init(mRenderer); in initialize()
818 this, desc, &mDriverUniforms[pipeline].descriptorSetLayout)); in initialize()
840 mDriverUniforms[pipeline].descriptorSetLayout.get().getHandle())); in initialize()
4692 if (mDriverUniforms[PipelineType::Graphics].descriptorSet != VK_NULL_HANDLE) in invalidateGraphicsDescriptorSet()
4702 if (mDriverUniforms[PipelineType::Compute].descriptorSet != VK_NULL_HANDLE) in invalidateComputeDescriptorSet()
5017 ANGLE_TRY(allocateDriverUniforms(driverUniformSize, &mDriverUniforms[PipelineType::Graphics], in handleDirtyGraphicsDriverUniforms()
5127 &mDriverUniforms[PipelineType::Compute], &ptr, &newBuffer)); in handleDirtyComputeDriverUniforms()
5167 &mDriverUniforms[PipelineType::Graphics]); in handleDirtyGraphicsDriverUniformsBinding()
5176 &mDriverUniforms[PipelineType::Compute]); in handleDirtyComputeDriverUniformsBinding()
[all …]
DContextVk.h1112 angle::PackedEnumMap<PipelineType, DriverUniformsDescriptorSet> mDriverUniforms; variable