• Home
  • Raw
  • Download

Lines Matching refs:IdRef

720         entryPointIds.push_back(spirv::IdRef(kIdColor0Out + colorIndex));  in InsertPreamble()
724 entryPointIds.push_back(spirv::IdRef(kIdDepthOut)); in InsertPreamble()
728 entryPointIds.push_back(spirv::IdRef(kIdStencilOut)); in InsertPreamble()
730 spirv::WriteEntryPoint(blobOut, spv::ExecutionModelFragment, spirv::IdRef(kIdMain), "main", in InsertPreamble()
733 spirv::WriteExecutionMode(blobOut, spirv::IdRef(kIdMain), spv::ExecutionModeOriginUpperLeft, in InsertPreamble()
737 spirv::WriteExecutionMode(blobOut, spirv::IdRef(kIdMain), spv::ExecutionModeDepthReplacing, in InsertPreamble()
744 void InsertInputDecorations(spirv::IdRef id, in InsertInputDecorations()
762 spirv::WriteDecorate(blobOut, spirv::IdRef(kIdColor0Out + colorIndex), spv::DecorationLocation, in InsertColorDecorations()
765 InsertInputDecorations(spirv::IdRef(kIdColor0In + colorIndex), in InsertColorDecorations()
784 spirv::WriteDecorate(blobOut, spirv::IdRef(kIdStencilOut), spv::DecorationBuiltIn, in InsertDepthStencilDecorations()
787 InsertInputDecorations(spirv::IdRef(kIdStencilIn), *nextInputIndex, *nextBindingIndex, in InsertDepthStencilDecorations()
798 spirv::WriteDecorate(blobOut, spirv::IdRef(kIdDepthOut), spv::DecorationBuiltIn, in InsertDepthStencilDecorations()
801 InsertInputDecorations(spirv::IdRef(kIdDepthIn), *nextInputIndex, *nextBindingIndex, in InsertDepthStencilDecorations()
815 void InsertDerivativeTypes(spirv::IdRef baseId, in InsertDerivativeTypes()
816 spirv::IdRef vec4Id, in InsertDerivativeTypes()
817 spirv::IdRef vec4OutId, in InsertDerivativeTypes()
818 spirv::IdRef imageTypeId, in InsertDerivativeTypes()
819 spirv::IdRef inputTypeId, in InsertDerivativeTypes()
839 spirv::WriteTypeVoid(blobOut, spirv::IdRef(kIdVoid)); in InsertCommonTypes()
840 spirv::WriteTypeFunction(blobOut, spirv::IdRef(kIdMainType), spirv::IdRef(kIdVoid), {}); in InsertCommonTypes()
843 spirv::WriteTypeFloat(blobOut, spirv::IdRef(kIdFloatType), spirv::LiteralInteger(32)); in InsertCommonTypes()
844 InsertDerivativeTypes(spirv::IdRef(kIdFloatType), spirv::IdRef(kIdFloat4Type), in InsertCommonTypes()
845 spirv::IdRef(kIdFloat4OutType), spirv::IdRef(kIdFloatSubpassImageType), in InsertCommonTypes()
846 spirv::IdRef(kIdFloatSubpassInputType), blobOut); in InsertCommonTypes()
849 spirv::WriteTypeInt(blobOut, spirv::IdRef(kIdSIntType), spirv::LiteralInteger(32), in InsertCommonTypes()
851 InsertDerivativeTypes(spirv::IdRef(kIdSIntType), spirv::IdRef(kIdSInt4Type), in InsertCommonTypes()
852 spirv::IdRef(kIdSInt4OutType), spirv::IdRef(kIdSIntSubpassImageType), in InsertCommonTypes()
853 spirv::IdRef(kIdSIntSubpassInputType), blobOut); in InsertCommonTypes()
856 spirv::WriteTypeInt(blobOut, spirv::IdRef(kIdUIntType), spirv::LiteralInteger(32), in InsertCommonTypes()
858 InsertDerivativeTypes(spirv::IdRef(kIdUIntType), spirv::IdRef(kIdUInt4Type), in InsertCommonTypes()
859 spirv::IdRef(kIdUInt4OutType), spirv::IdRef(kIdUIntSubpassImageType), in InsertCommonTypes()
860 spirv::IdRef(kIdUIntSubpassInputType), blobOut); in InsertCommonTypes()
863 spirv::WriteTypePointer(blobOut, spirv::IdRef(kIdFloatOutType), spv::StorageClassOutput, in InsertCommonTypes()
864 spirv::IdRef(kIdFloatType)); in InsertCommonTypes()
865 spirv::WriteTypePointer(blobOut, spirv::IdRef(kIdSIntOutType), spv::StorageClassOutput, in InsertCommonTypes()
866 spirv::IdRef(kIdSIntType)); in InsertCommonTypes()
869 spirv::WriteConstant(blobOut, spirv::IdRef(kIdSIntType), spirv::IdRef(kIdSIntZero), in InsertCommonTypes()
871 spirv::WriteTypeVector(blobOut, spirv::IdRef(kIdSInt2Type), spirv::IdRef(kIdSIntType), in InsertCommonTypes()
873 spirv::WriteConstantComposite(blobOut, spirv::IdRef(kIdSInt2Type), spirv::IdRef(kIdSInt2Zero), in InsertCommonTypes()
874 {spirv::IdRef(kIdSIntZero), spirv::IdRef(kIdSIntZero)}); in InsertCommonTypes()
877 void InsertVariableDecl(spirv::IdRef outType, in InsertVariableDecl()
878 spirv::IdRef outId, in InsertVariableDecl()
879 spirv::IdRef inType, in InsertVariableDecl()
880 spirv::IdRef inId, in InsertVariableDecl()
893 spirv::IdRef outType(kIdFloat4OutType); in InsertColorVariableDecl()
894 spirv::IdRef outId(kIdColor0Out + colorIndex); in InsertColorVariableDecl()
895 spirv::IdRef inType(kIdFloatSubpassInputType); in InsertColorVariableDecl()
896 spirv::IdRef inId(kIdColor0In + colorIndex); in InsertColorVariableDecl()
900 outType = spirv::IdRef(kIdSInt4OutType); in InsertColorVariableDecl()
901 inType = spirv::IdRef(kIdSIntSubpassInputType); in InsertColorVariableDecl()
904 outType = spirv::IdRef(kIdUInt4OutType); in InsertColorVariableDecl()
905 inType = spirv::IdRef(kIdUIntSubpassInputType); in InsertColorVariableDecl()
919 InsertVariableDecl(spirv::IdRef(kIdFloatOutType), spirv::IdRef(kIdDepthOut), in InsertDepthStencilVariableDecl()
920 spirv::IdRef(kIdFloatSubpassInputType), spirv::IdRef(kIdDepthIn), in InsertDepthStencilVariableDecl()
925 InsertVariableDecl(spirv::IdRef(kIdSIntOutType), spirv::IdRef(kIdStencilOut), in InsertDepthStencilVariableDecl()
926 spirv::IdRef(kIdUIntSubpassInputType), spirv::IdRef(kIdStencilIn), in InsertDepthStencilVariableDecl()
933 spirv::WriteFunction(blobOut, spirv::IdRef(kIdVoid), spirv::IdRef(kIdMain), in InsertTopOfMain()
934 spv::FunctionControlMaskNone, spirv::IdRef(kIdMainType)); in InsertTopOfMain()
935 spirv::WriteLabel(blobOut, spirv::IdRef(kIdMainLabel)); in InsertTopOfMain()
942 spirv::IdRef loadResult(kIdColor0Load + colorIndex * 2); in InsertColorUnresolveLoadStore()
943 spirv::IdRef imageReadResult(loadResult + 1); in InsertColorUnresolveLoadStore()
946 spirv::IdRef loadType(kIdFloatSubpassImageType); in InsertColorUnresolveLoadStore()
947 spirv::IdRef readType(kIdFloat4Type); in InsertColorUnresolveLoadStore()
948 spirv::IdRef inId(kIdColor0In + colorIndex); in InsertColorUnresolveLoadStore()
949 spirv::IdRef outId(kIdColor0Out + colorIndex); in InsertColorUnresolveLoadStore()
953 loadType = spirv::IdRef(kIdSIntSubpassImageType); in InsertColorUnresolveLoadStore()
954 readType = spirv::IdRef(kIdSInt4Type); in InsertColorUnresolveLoadStore()
957 loadType = spirv::IdRef(kIdUIntSubpassImageType); in InsertColorUnresolveLoadStore()
958 readType = spirv::IdRef(kIdUInt4Type); in InsertColorUnresolveLoadStore()
967 spirv::IdRef(kIdSInt2Zero), nullptr, {}); in InsertColorUnresolveLoadStore()
977 spirv::IdRef loadResult(kIdDepthLoad); in InsertDepthStencilUnresolveLoadStore()
978 spirv::IdRef imageReadResult(loadResult + 1); in InsertDepthStencilUnresolveLoadStore()
979 spirv::IdRef extractResult(imageReadResult + 1); in InsertDepthStencilUnresolveLoadStore()
981 spirv::IdRef loadType(kIdFloatSubpassImageType); in InsertDepthStencilUnresolveLoadStore()
982 spirv::IdRef readType(kIdFloat4Type); in InsertDepthStencilUnresolveLoadStore()
983 spirv::IdRef inId(kIdDepthIn); in InsertDepthStencilUnresolveLoadStore()
984 spirv::IdRef outId(kIdDepthOut); in InsertDepthStencilUnresolveLoadStore()
989 spirv::IdRef(kIdSInt2Zero), nullptr, {}); in InsertDepthStencilUnresolveLoadStore()
990 spirv::WriteCompositeExtract(blobOut, spirv::IdRef(kIdFloatType), extractResult, in InsertDepthStencilUnresolveLoadStore()
996 spirv::IdRef loadResult(kIdStencilLoad); in InsertDepthStencilUnresolveLoadStore()
997 spirv::IdRef imageReadResult(loadResult + 1); in InsertDepthStencilUnresolveLoadStore()
998 spirv::IdRef extractResult(imageReadResult + 1); in InsertDepthStencilUnresolveLoadStore()
999 spirv::IdRef bitcastResult(extractResult + 1); in InsertDepthStencilUnresolveLoadStore()
1001 spirv::IdRef loadType(kIdUIntSubpassImageType); in InsertDepthStencilUnresolveLoadStore()
1002 spirv::IdRef readType(kIdUInt4Type); in InsertDepthStencilUnresolveLoadStore()
1003 spirv::IdRef inId(kIdStencilIn); in InsertDepthStencilUnresolveLoadStore()
1004 spirv::IdRef outId(kIdStencilOut); in InsertDepthStencilUnresolveLoadStore()
1011 spirv::IdRef(kIdSInt2Zero), nullptr, {}); in InsertDepthStencilUnresolveLoadStore()
1012 spirv::WriteCompositeExtract(blobOut, spirv::IdRef(kIdUIntType), extractResult, in InsertDepthStencilUnresolveLoadStore()
1014 spirv::WriteBitcast(blobOut, spirv::IdRef(kIdSIntType), bitcastResult, extractResult); in InsertDepthStencilUnresolveLoadStore()