Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/angle2/src/compiler/translator/
H A 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
168 size_t baseAlignment = GetStd430BaseAlignment(variable.type, isRowMajor);
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, nam in visitVariable()
550 enterStructAccess(const ShaderVariable &structVar, bool isRowMajor) enterStructAccess() argument
564 exitStructAccess(const ShaderVariable &structVar, bool isRowMajor) exitStructAccess() argument
608 visitNamedVariable(const ShaderVariable &variable, bool isRowMajor, const std::string &name, const std::string &mappedName, const std::vector<unsigned int> &arraySizes) visitNamedVariable() argument
637 bool isRowMajor = rowMajorLayout && gl::IsMatrixType(variable.type); TraverseShaderVariable() local
[all...]
H A 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) overrid
[all...]
H A DShaderStorageBlockOutputHLSL.h69 bool *isRowMajor) const;
H A DShaderStorageBlockOutputHLSL.cpp218 void enterStructAccess(const ShaderVariable &structVar, bool isRowMajor) override
220 BlockEncoderVisitor::enterStructAccess(structVar, isRowMajor);
229 TraverseShaderVariables(structVar.fields, isRowMajor, &childVisitor);
H A DBuildSPIRV.cpp102 bool isRowMajor) in ToShaderVariable()
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()
99 ToShaderVariable(const TFieldListCollection *block, GLenum type, const TSpan<const unsigned int> arraySizes, bool isRowMajor) ToShaderVariable() argument
/third_party/vk-gl-cts/external/openglcts/modules/common/
H A DglcUniformBlockCase.cpp212 : type(glu::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
392 isRowMajor ? glu::getDataTypeMatrixNumColumns(basicType) : glu::getDataTypeMatrixNumRows(basicType); in computeStd140BaseAlignment()
455 bool isRowMajor = !!(layoutFlags & LAYOUT_ROW_MAJOR); in computeStd140Layout() local
457 isRowMajor ? glu::getDataTypeMatrixNumColumns(basicType) : glu::getDataTypeMatrixNumRows(basicType); in computeStd140Layout()
459 isRowMajor ? glu::getDataTypeMatrixNumRows(basicType) : glu::getDataTypeMatrixNumColumns(basicType); in computeStd140Layout()
464 entry.isRowMajor in computeStd140Layout()
505 bool isRowMajor = !!(layoutFlags & LAYOUT_ROW_MAJOR); computeStd140Layout() local
[all...]
/third_party/vk-gl-cts/modules/glshared/
H A 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() : layoutFlags) & LAYOUT_ROW_MAJOR)); in computeStd140Layout() local
484 int vecSize = isRowMajor ? glu::getDataTypeMatrixNumColumns(basicType) in computeStd140Layout()
486 int numVecs = isRowMajor ? glu::getDataTypeMatrixNumRows(basicType) in computeStd140Layout()
492 entry.isRowMajor in computeStd140Layout()
533 bool isRowMajor = !!(((elemType.getFlags() & (LAYOUT_ROW_MAJOR | LAYOUT_COLUMN_MAJOR) ? elemType.getFlags() : layoutFlags) & LAYOUT_ROW_MAJOR)); computeStd140Layout() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ssbo/
H A 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 in computeReferenceLayout()
559 const bool isRowMajor = !!(layoutFlags & LAYOUT_ROW_MAJOR); computeReferenceLayout() local
654 const bool isRowMajor = !!(combinedFlags & LAYOUT_ROW_MAJOR); computeReferenceLayout() local
1013 generateImmMatrixSrc(std::ostream& src, glu::DataType basicType, int matrixStride, bool isRowMajor, bool singleCol, int colNumber, const void* valuePtr) generateImmMatrixSrc() argument
1046 generateImmMatrixSrc(std::ostream& src, glu::DataType basicType, int matrixStride, bool isRowMajor, const void* valuePtr, const char* resultVar, const char* typeName, const string shaderName) generateImmMatrixSrc() argument
[all...]
H A DvktSSBOLayoutCase.hpp163 , isRowMajor (false) in BufferVarLayoutEntry()
176 bool isRowMajor; member
/third_party/vk-gl-cts/modules/gles31/functional/
H A 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 in computeReferenceLayout()
541 const bool isRowMajor = !!(layoutFlags & LAYOUT_ROW_MAJOR); computeReferenceLayout() local
627 const bool isRowMajor = !!(combinedFlags & LAYOUT_ROW_MAJOR); computeReferenceLayout() local
974 generateImmMatrixSrc(std::ostream& src, glu::DataType basicType, int matrixStride, bool isRowMajor, const void* valuePtr) generateImmMatrixSrc() argument
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ssbo/
H A 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 in computeReferenceLayout()
559 const bool isRowMajor = !!(layoutFlags & LAYOUT_ROW_MAJOR); computeReferenceLayout() local
654 const bool isRowMajor = !!(combinedFlags & LAYOUT_ROW_MAJOR); computeReferenceLayout() local
1013 generateImmMatrixSrc(std::ostream& src, glu::DataType basicType, int matrixStride, bool isRowMajor, bool singleCol, int colNumber, const void* valuePtr) generateImmMatrixSrc() argument
1046 generateImmMatrixSrc(std::ostream& src, glu::DataType basicType, int matrixStride, bool isRowMajor, const void* valuePtr, const char* resultVar, const char* typeName, const string shaderName) generateImmMatrixSrc() argument
[all...]
H A DvktSSBOLayoutCase.hpp163 , isRowMajor (false) in BufferVarLayoutEntry()
176 bool isRowMajor; member
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ubo/
H A 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 in computeReferenceLayout()
644 const bool isRowMajor = !!(layoutFlags & LAYOUT_ROW_MAJOR); computeReferenceLayout() local
[all...]
H A DvktUniformBlockCase.hpp280 , isRowMajor (false) in UniformLayoutEntry()
295 bool isRowMajor; member
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ubo/
H A 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 in computeReferenceLayout()
644 const bool isRowMajor = !!(layoutFlags & LAYOUT_ROW_MAJOR); computeReferenceLayout() local
[all...]
H A DvktUniformBlockCase.hpp280 , isRowMajor (false) in UniformLayoutEntry()
295 bool isRowMajor; member
/third_party/vk-gl-cts/framework/opengl/
H A DgluProgramInterfaceQuery.hpp70 bool isRowMajor; //!< GL_IS_ROW_MAJOR member
83 , isRowMajor (0) in InterfaceVariableInfo()
H A DgluProgramInterfaceQuery.cpp96 info.isRowMajor = getProgramResourceUint(gl, program, programInterface, index, GL_IS_ROW_MAJOR) != GL_FALSE; in getProgramInterfaceVariableInfo()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/TranslatorMetalDirect/
H A DModifyStruct.cpp778 const bool isRowMajor = type.getLayoutQualifier().matrixPacking == EmpRowMajor;
781 if (saturation <= rows && !isRowMajor)
799 int firstModifiedIndex = isRowMajor ? r : c;
800 int secondModifiedIndex = isRowMajor ? c : r;
/third_party/skia/third_party/externals/angle2/src/libANGLE/
H A DProgramLinkedResources.cpp253 bool isRowMajor,
314 bool isRowMajor,
417 bool isRowMajor,
531 void enterStructAccess(const sh::ShaderVariable &structVar, bool isRowMajor) override
534 sh::VariableNameVisitor::enterStructAccess(structVar, isRowMajor);
537 void exitStructAccess(const sh::ShaderVariable &structVar, bool isRowMajor) override
540 sh::VariableNameVisitor::exitStructAccess(structVar, isRowMajor);
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/
H A 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/
H A Des3fShaderStateQueryTests.cpp1620 GLint isRowMajor; in test() member
1720 verifyActiveUniformParam(m_testCtx, *this, program, uniformIndex, GL_UNIFORM_IS_ROW_MAJOR, uniformTypes[ndx].isRowMajor); in test()
/third_party/vk-gl-cts/modules/gles2/functional/
H A Des2fShaderStateQueryTests.cpp1322 GLint isRowMajor; in test() member

Completed in 233 milliseconds