Home
last modified time | relevance | path

Searched refs:isRowMajor (Results 1 – 23 of 23) sorted by relevance

/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/
Dblocklayout.cpp147 size_t GetStd430BaseAlignment(GLenum variableType, bool isRowMajor) in GetStd430BaseAlignment() argument
149 GLenum flippedType = isRowMajor ? variableType : gl::TransposeMatrixType(variableType); in GetStd430BaseAlignment()
158 void visitVariable(const ShaderVariable &variable, bool isRowMajor) override in visitVariable() argument
160 size_t baseAlignment = GetStd430BaseAlignment(variable.type, isRowMajor); in visitVariable()
194 size_t BlockLayoutEncoder::getShaderVariableSize(const ShaderVariable &structVar, bool isRowMajor) in getShaderVariableSize() argument
200 TraverseShaderVariables(structVar.fields, isRowMajor, &visitor); in getShaderVariableSize()
390 void VariableNameVisitor::enterStructAccess(const ShaderVariable &structVar, bool isRowMajor) in enterStructAccess() argument
396 void VariableNameVisitor::exitStructAccess(const ShaderVariable &structVar, bool isRowMajor) in exitStructAccess() argument
467 void VariableNameVisitor::visitVariable(const ShaderVariable &variable, bool isRowMajor) in visitVariable() argument
484 visitNamedVariable(variable, isRowMajor, name, mappedName); in visitVariable()
[all …]
Dblocklayout.h87 size_t getShaderVariableSize(const ShaderVariable &structVar, bool isRowMajor);
198 virtual void enterStructAccess(const ShaderVariable &structVar, bool isRowMajor) {} in enterStructAccess() argument
199 virtual void exitStructAccess(const ShaderVariable &structVar, bool isRowMajor) {} in exitStructAccess() argument
209 virtual void visitVariable(const ShaderVariable &variable, bool isRowMajor) = 0;
223 void enterStructAccess(const ShaderVariable &structVar, bool isRowMajor) override;
224 void exitStructAccess(const ShaderVariable &structVar, bool isRowMajor) override;
236 bool isRowMajor,
245 void visitVariable(const ShaderVariable &variable, bool isRowMajor) final;
259 void enterStructAccess(const ShaderVariable &structVar, bool isRowMajor) override;
260 void exitStructAccess(const ShaderVariable &structVar, bool isRowMajor) override;
[all …]
DShaderStorageBlockOutputHLSL.cpp217 void enterStructAccess(const ShaderVariable &structVar, bool isRowMajor) override in enterStructAccess() argument
219 BlockEncoderVisitor::enterStructAccess(structVar, isRowMajor); in enterStructAccess()
228 TraverseShaderVariables(structVar.fields, isRowMajor, &childVisitor); in enterStructAccess()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
Dblocklayout.cpp155 size_t GetStd430BaseAlignment(GLenum variableType, bool isRowMajor) in GetStd430BaseAlignment() argument
157 GLenum flippedType = isRowMajor ? variableType : gl::TransposeMatrixType(variableType); in GetStd430BaseAlignment()
166 void visitVariable(const ShaderVariable &variable, bool isRowMajor) override in visitVariable() argument
168 size_t baseAlignment = GetStd430BaseAlignment(variable.type, isRowMajor); in visitVariable()
231 size_t BlockLayoutEncoder::getShaderVariableSize(const ShaderVariable &structVar, bool isRowMajor) in getShaderVariableSize() argument
237 TraverseShaderVariables(structVar.fields, isRowMajor, &visitor); in getShaderVariableSize()
442 void VariableNameVisitor::enterStructAccess(const ShaderVariable &structVar, bool isRowMajor) in enterStructAccess() argument
448 void VariableNameVisitor::exitStructAccess(const ShaderVariable &structVar, bool isRowMajor) in exitStructAccess() argument
521 void VariableNameVisitor::visitVariable(const ShaderVariable &variable, bool isRowMajor) in visitVariable() argument
538 visitNamedVariable(variable, isRowMajor, name, mappedName, mArraySizeStack); in visitVariable()
[all …]
Dblocklayout.h89 size_t getShaderVariableSize(const ShaderVariable &structVar, bool isRowMajor);
200 virtual void enterStructAccess(const ShaderVariable &structVar, bool isRowMajor) {} in enterStructAccess() argument
201 virtual void exitStructAccess(const ShaderVariable &structVar, bool isRowMajor) {} in exitStructAccess() argument
211 virtual void visitVariable(const ShaderVariable &variable, bool isRowMajor) = 0;
225 void enterStructAccess(const ShaderVariable &structVar, bool isRowMajor) override;
226 void exitStructAccess(const ShaderVariable &structVar, bool isRowMajor) override;
239 bool isRowMajor,
249 void visitVariable(const ShaderVariable &variable, bool isRowMajor) final;
264 void enterStructAccess(const ShaderVariable &structVar, bool isRowMajor) override;
265 void exitStructAccess(const ShaderVariable &structVar, bool isRowMajor) override;
[all …]
DShaderStorageBlockOutputHLSL.h69 bool *isRowMajor) const;
DShaderStorageBlockOutputHLSL.cpp218 void enterStructAccess(const ShaderVariable &structVar, bool isRowMajor) override in enterStructAccess() argument
220 BlockEncoderVisitor::enterStructAccess(structVar, isRowMajor); in enterStructAccess()
229 TraverseShaderVariables(structVar.fields, isRowMajor, &childVisitor); in enterStructAccess()
DBuildSPIRV.cpp102 bool isRowMajor) in ToShaderVariable() argument
108 var.isRowMajorLayout = isRowMajor; in ToShaderVariable()
119 (fieldMatrixPacking == EmpUnspecified && isRowMajor); in ToShaderVariable()
133 const bool isRowMajor = in SpirvTypeToShaderVariable() local
140 return ToShaderVariable(type.block, glType, type.arraySizes, isRowMajor); in SpirvTypeToShaderVariable()
1961 const bool isRowMajor = in writeMemberDecorations() local
1965 isRowMajor ? spv::DecorationRowMajor : spv::DecorationColMajor, {}); in writeMemberDecorations()
/third_party/vk-gl-cts/external/openglcts/modules/common/
DglcUniformBlockCase.cpp212 …TYPE_LAST), size(0), blockNdx(-1), offset(-1), arrayStride(-1), matrixStride(-1), isRowMajor(false) in UniformLayoutEntry()
223 bool isRowMajor; member
231 << ", isRowMajor = " << (entry.isRowMajor ? "true" : "false") << " }"; in operator <<()
390 bool isRowMajor = !!(type.getFlags() & LAYOUT_ROW_MAJOR); in computeStd140BaseAlignment() local
392isRowMajor ? glu::getDataTypeMatrixNumColumns(basicType) : glu::getDataTypeMatrixNumRows(basicType… in computeStd140BaseAlignment()
455 bool isRowMajor = !!(layoutFlags & LAYOUT_ROW_MAJOR); in computeStd140Layout() local
457isRowMajor ? glu::getDataTypeMatrixNumColumns(basicType) : glu::getDataTypeMatrixNumRows(basicType… in computeStd140Layout()
459isRowMajor ? glu::getDataTypeMatrixNumRows(basicType) : glu::getDataTypeMatrixNumColumns(basicType… in computeStd140Layout()
464 entry.isRowMajor = isRowMajor; in computeStd140Layout()
505 bool isRowMajor = !!(layoutFlags & LAYOUT_ROW_MAJOR); in computeStd140Layout() local
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ssbo/
DvktSSBOLayoutCase.cpp161 << ", isRowMajor = " << (entry.isRowMajor ? "true" : "false") in operator <<()
332 const bool isRowMajor = !!(layoutFlags & LAYOUT_ROW_MAJOR); in computeStd140BaseAlignment() local
333 const int vecSize = isRowMajor ? glu::getDataTypeMatrixNumColumns(basicType) in computeStd140BaseAlignment()
373 const bool isRowMajor = !!(layoutFlags & LAYOUT_ROW_MAJOR); in computeStd430BaseAlignment() local
374 const int vecSize = isRowMajor ? glu::getDataTypeMatrixNumColumns(basicType) in computeStd430BaseAlignment()
410 const bool isRowMajor = !!(layoutFlags & LAYOUT_ROW_MAJOR); in computeRelaxedBlockBaseAlignment() local
411 const int vecSize = isRowMajor ? glu::getDataTypeMatrixNumColumns(basicType) in computeRelaxedBlockBaseAlignment()
502 const bool isRowMajor = !!(layoutFlags & LAYOUT_ROW_MAJOR); in computeReferenceLayout() local
503 const int vecSize = isRowMajor ? glu::getDataTypeMatrixNumColumns(basicType) in computeReferenceLayout()
506 const int numVecs = isRowMajor ? glu::getDataTypeMatrixNumRows(basicType) in computeReferenceLayout()
[all …]
DvktSSBOLayoutCase.hpp163 , isRowMajor (false) in BufferVarLayoutEntry()
176 bool isRowMajor; member
/third_party/vk-gl-cts/modules/glshared/
DglsUniformBlockCase.cpp243 , isRowMajor (false) in UniformLayoutEntry()
254 bool isRowMajor; member
265 << ", isRowMajor = " << (entry.isRowMajor ? "true" : "false") in operator <<()
419 bool isRowMajor = !!(type.getFlags() & LAYOUT_ROW_MAJOR); in computeStd140BaseAlignment() local
420 int vecSize = isRowMajor ? glu::getDataTypeMatrixNumColumns(basicType) in computeStd140BaseAlignment()
482 …bool isRowMajor = !!(((type.getFlags() & (LAYOUT_ROW_MAJOR | LAYOUT_COLUMN_MAJOR) ? type.getFlags(… in computeStd140Layout() local
484 int vecSize = isRowMajor ? glu::getDataTypeMatrixNumColumns(basicType) in computeStd140Layout()
486 int numVecs = isRowMajor ? glu::getDataTypeMatrixNumRows(basicType) in computeStd140Layout()
492 entry.isRowMajor = isRowMajor; in computeStd140Layout()
533 …bool isRowMajor = !!(((elemType.getFlags() & (LAYOUT_ROW_MAJOR | LAYOUT_COLUMN_MAJOR) ? elemTy… in computeStd140Layout() local
[all …]
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fSSBOLayoutCase.cpp168 , isRowMajor (false) in BufferVarLayoutEntry()
181 bool isRowMajor; member
200 << ", isRowMajor = " << (entry.isRowMajor ? "true" : "false") in operator <<()
376 const bool isRowMajor = !!(layoutFlags & LAYOUT_ROW_MAJOR); in computeStd140BaseAlignment() local
377 const int vecSize = isRowMajor ? glu::getDataTypeMatrixNumColumns(basicType) in computeStd140BaseAlignment()
417 const bool isRowMajor = !!(layoutFlags & LAYOUT_ROW_MAJOR); in computeStd430BaseAlignment() local
418 const int vecSize = isRowMajor ? glu::getDataTypeMatrixNumColumns(basicType) in computeStd430BaseAlignment()
492 const bool isRowMajor = !!(layoutFlags & LAYOUT_ROW_MAJOR); in computeReferenceLayout() local
493 const int numVecs = isRowMajor ? glu::getDataTypeMatrixNumRows(basicType) in computeReferenceLayout()
498 entry.isRowMajor = isRowMajor; in computeReferenceLayout()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ubo/
DvktUniformBlockCase.cpp178 << ", isRowMajor = " << (entry.isRowMajor ? "true" : "false") in operator <<()
415 const bool isRowMajor = !!(layoutFlags & LAYOUT_ROW_MAJOR); in computeStd140BaseAlignment() local
416 const int vecSize = isRowMajor ? glu::getDataTypeMatrixNumColumns(basicType) in computeStd140BaseAlignment()
456 const bool isRowMajor = !!(layoutFlags & LAYOUT_ROW_MAJOR); in computeStd430BaseAlignment() local
457 const int vecSize = isRowMajor ? glu::getDataTypeMatrixNumColumns(basicType) in computeStd430BaseAlignment()
493 const bool isRowMajor = !!(layoutFlags & LAYOUT_ROW_MAJOR); in computeRelaxedBlockBaseAlignment() local
494 const int vecSize = isRowMajor ? glu::getDataTypeMatrixNumColumns(basicType) in computeRelaxedBlockBaseAlignment()
587 const bool isRowMajor = !!(layoutFlags & LAYOUT_ROW_MAJOR); in computeReferenceLayout() local
588 const int vecSize = isRowMajor ? glu::getDataTypeMatrixNumColumns(basicType) in computeReferenceLayout()
591 const int numVecs = isRowMajor ? glu::getDataTypeMatrixNumRows(basicType) in computeReferenceLayout()
[all …]
DvktUniformBlockCase.hpp280 , isRowMajor (false) in UniformLayoutEntry()
295 bool isRowMajor; member
/third_party/vk-gl-cts/framework/opengl/
DgluProgramInterfaceQuery.hpp70 bool isRowMajor; //!< GL_IS_ROW_MAJOR member
83 , isRowMajor (0) in InterfaceVariableInfo()
DgluProgramInterfaceQuery.cpp96 …info.isRowMajor = getProgramResourceUint(gl, program, programInterface, index, GL_IS_ROW_MAJOR) !… in getProgramInterfaceVariableInfo()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/
DProgramLinkedResources.cpp249 bool isRowMajor, in visitNamedVariable() argument
309 bool isRowMajor, in visitNamedVariable() argument
406 bool isRowMajor, in visitNamedVariable() argument
507 void enterStructAccess(const sh::ShaderVariable &structVar, bool isRowMajor) override in enterStructAccess() argument
510 sh::VariableNameVisitor::enterStructAccess(structVar, isRowMajor); in enterStructAccess()
513 void exitStructAccess(const sh::ShaderVariable &structVar, bool isRowMajor) override in exitStructAccess() argument
516 sh::VariableNameVisitor::exitStructAccess(structVar, isRowMajor); in exitStructAccess()
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DProgramLinkedResources.cpp253 bool isRowMajor, in visitNamedVariable() argument
314 bool isRowMajor, in visitNamedVariable() argument
417 bool isRowMajor, in visitNamedVariable() argument
531 void enterStructAccess(const sh::ShaderVariable &structVar, bool isRowMajor) override in enterStructAccess() argument
534 sh::VariableNameVisitor::enterStructAccess(structVar, isRowMajor); in enterStructAccess()
537 void exitStructAccess(const sh::ShaderVariable &structVar, bool isRowMajor) override in exitStructAccess() argument
540 sh::VariableNameVisitor::exitStructAccess(structVar, isRowMajor); in exitStructAccess()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/TranslatorMetalDirect/
DModifyStruct.cpp778 const bool isRowMajor = type.getLayoutQualifier().matrixPacking == EmpRowMajor; in SaturateMatrixRows() local
781 if (saturation <= rows && !isRowMajor) in SaturateMatrixRows()
799 int firstModifiedIndex = isRowMajor ? r : c; in SaturateMatrixRows()
800 int secondModifiedIndex = isRowMajor ? c : r; in SaturateMatrixRows()
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/
DOutputASM.cpp300 bool isRowMajor = type.getLayoutQualifier().matrixPacking == EmpRowMajor; in encodeType() local
301 getBlockLayoutInfo(type, type.getArraySize(), isRowMajor, &arrayStride, &matrixStride); in encodeType()
306 (matrixStride > 0) && isRowMajor); in encodeType()
308 advanceOffset(type, type.getArraySize(), isRowMajor, arrayStride, matrixStride); in encodeType()
3740 bool isRowMajor = block->matrixPacking() == EmpRowMajor; in declareUniform() local
3742 … block->blockStorage(), isRowMajor, registerIndex, blockId)); in declareUniform()
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fShaderStateQueryTests.cpp1620 GLint isRowMajor; in test() member
1720 …am(m_testCtx, *this, program, uniformIndex, GL_UNIFORM_IS_ROW_MAJOR, uniformTypes[ndx].isRowMajor); in test()
/third_party/vk-gl-cts/modules/gles2/functional/
Des2fShaderStateQueryTests.cpp1322 GLint isRowMajor; in test() member