Lines Matching refs:compiler
39 const std::vector<VarT> *GetVariableList(const TCompiler *compiler);
42 const std::vector<InterfaceBlock> *GetVariableList(const TCompiler *compiler) in GetVariableList() argument
44 return &compiler->getInterfaceBlocks(); in GetVariableList()
61 TCompiler *compiler = GetCompilerFromHandle(handle); in GetShaderVariables() local
62 if (!compiler) in GetShaderVariables()
67 return GetVariableList<VarT>(compiler); in GetShaderVariables()
349 TCompiler *compiler = base->getAsCompiler(); in ConstructCompiler() local
350 if (compiler == nullptr) in ConstructCompiler()
356 if (!compiler->Init(*resources)) in ConstructCompiler()
378 TCompiler *compiler = GetCompilerFromHandle(handle); in GetBuiltInResourcesString() local
379 ASSERT(compiler); in GetBuiltInResourcesString()
380 return compiler->getBuiltInResourcesString(); in GetBuiltInResourcesString()
395 TCompiler *compiler = GetCompilerFromHandle(handle); in Compile() local
396 ASSERT(compiler); in Compile()
398 return compiler->compile(shaderStrings, numStrings, compileOptions); in Compile()
403 TCompiler *compiler = GetCompilerFromHandle(handle); in ClearResults() local
404 ASSERT(compiler); in ClearResults()
405 compiler->clearResults(); in ClearResults()
410 TCompiler *compiler = GetCompilerFromHandle(handle); in GetShaderVersion() local
411 ASSERT(compiler); in GetShaderVersion()
412 return compiler->getShaderVersion(); in GetShaderVersion()
417 TCompiler *compiler = GetCompilerFromHandle(handle); in GetShaderOutputType() local
418 ASSERT(compiler); in GetShaderOutputType()
419 return compiler->getOutputType(); in GetShaderOutputType()
427 TCompiler *compiler = GetCompilerFromHandle(handle); in GetInfoLog() local
428 ASSERT(compiler); in GetInfoLog()
430 TInfoSink &infoSink = compiler->getInfoSink(); in GetInfoLog()
439 TCompiler *compiler = GetCompilerFromHandle(handle); in GetObjectCode() local
440 ASSERT(compiler); in GetObjectCode()
442 TInfoSink &infoSink = compiler->getInfoSink(); in GetObjectCode()
451 TCompiler *compiler = GetCompilerFromHandle(handle); in GetObjectBinaryBlob() local
452 ASSERT(compiler); in GetObjectBinaryBlob()
454 TInfoSink &infoSink = compiler->getInfoSink(); in GetObjectBinaryBlob()
460 TCompiler *compiler = GetCompilerFromHandle(handle); in GetNameHashingMap() local
461 ASSERT(compiler); in GetNameHashingMap()
462 return &(compiler->getNameMap()); in GetNameHashingMap()
467 TCompiler *compiler = GetCompilerFromHandle(handle); in GetUniforms() local
468 if (!compiler) in GetUniforms()
472 return &compiler->getUniforms(); in GetUniforms()
477 TCompiler *compiler = GetCompilerFromHandle(handle); in GetInputVaryings() local
478 if (compiler == nullptr) in GetInputVaryings()
482 return &compiler->getInputVaryings(); in GetInputVaryings()
487 TCompiler *compiler = GetCompilerFromHandle(handle); in GetOutputVaryings() local
488 if (compiler == nullptr) in GetOutputVaryings()
492 return &compiler->getOutputVaryings(); in GetOutputVaryings()
497 TCompiler *compiler = GetCompilerFromHandle(handle); in GetVaryings() local
498 if (compiler == nullptr) in GetVaryings()
503 switch (compiler->getShaderType()) in GetVaryings()
506 return &compiler->getOutputVaryings(); in GetVaryings()
508 return &compiler->getInputVaryings(); in GetVaryings()
510 ASSERT(compiler->getOutputVaryings().empty() && compiler->getInputVaryings().empty()); in GetVaryings()
511 return &compiler->getOutputVaryings(); in GetVaryings()
521 TCompiler *compiler = GetCompilerFromHandle(handle); in GetAttributes() local
522 if (!compiler) in GetAttributes()
526 return &compiler->getAttributes(); in GetAttributes()
531 TCompiler *compiler = GetCompilerFromHandle(handle); in GetOutputVariables() local
532 if (!compiler) in GetOutputVariables()
536 return &compiler->getOutputVariables(); in GetOutputVariables()
548 TCompiler *compiler = base->getAsCompiler(); in GetUniformBlocks() local
549 ASSERT(compiler); in GetUniformBlocks()
551 return &compiler->getUniformBlocks(); in GetUniformBlocks()
558 TCompiler *compiler = base->getAsCompiler(); in GetShaderStorageBlocks() local
559 ASSERT(compiler); in GetShaderStorageBlocks()
561 return &compiler->getShaderStorageBlocks(); in GetShaderStorageBlocks()
569 TCompiler *compiler = base->getAsCompiler(); in GetComputeShaderLocalGroupSize() local
570 ASSERT(compiler); in GetComputeShaderLocalGroupSize()
572 return compiler->getComputeShaderLocalSize(); in GetComputeShaderLocalGroupSize()
579 TCompiler *compiler = base->getAsCompiler(); in GetVertexShaderNumViews() local
580 ASSERT(compiler); in GetVertexShaderNumViews()
582 return compiler->getNumViews(); in GetVertexShaderNumViews()
587 TCompiler *compiler = GetCompilerFromHandle(handle); in HasEarlyFragmentTestsOptimization() local
588 if (compiler == nullptr) in HasEarlyFragmentTestsOptimization()
592 return compiler->isEarlyFragmentTestsOptimized(); in HasEarlyFragmentTestsOptimization()
597 TCompiler *compiler = GetCompilerFromHandle(handle); in GetShaderSpecConstUsageBits() local
598 if (compiler == nullptr) in GetShaderSpecConstUsageBits()
602 return compiler->getSpecConstUsageBits().bits(); in GetShaderSpecConstUsageBits()
732 TCompiler *compiler = base->getAsCompiler(); in HasValidGeometryShaderInputPrimitiveType() local
733 ASSERT(compiler); in HasValidGeometryShaderInputPrimitiveType()
735 return compiler->getGeometryShaderInputPrimitiveType() != EptUndefined; in HasValidGeometryShaderInputPrimitiveType()
743 TCompiler *compiler = base->getAsCompiler(); in HasValidGeometryShaderOutputPrimitiveType() local
744 ASSERT(compiler); in HasValidGeometryShaderOutputPrimitiveType()
746 return compiler->getGeometryShaderOutputPrimitiveType() != EptUndefined; in HasValidGeometryShaderOutputPrimitiveType()
754 TCompiler *compiler = base->getAsCompiler(); in HasValidGeometryShaderMaxVertices() local
755 ASSERT(compiler); in HasValidGeometryShaderMaxVertices()
757 return compiler->getGeometryShaderMaxVertices() >= 0; in HasValidGeometryShaderMaxVertices()
765 TCompiler *compiler = base->getAsCompiler(); in HasValidTessGenMode() local
766 ASSERT(compiler); in HasValidTessGenMode()
768 return compiler->getTessEvaluationShaderInputPrimitiveType() != EtetUndefined; in HasValidTessGenMode()
776 TCompiler *compiler = base->getAsCompiler(); in HasValidTessGenSpacing() local
777 ASSERT(compiler); in HasValidTessGenSpacing()
779 return compiler->getTessEvaluationShaderInputVertexSpacingType() != EtetUndefined; in HasValidTessGenSpacing()
787 TCompiler *compiler = base->getAsCompiler(); in HasValidTessGenVertexOrder() local
788 ASSERT(compiler); in HasValidTessGenVertexOrder()
790 return compiler->getTessEvaluationShaderInputOrderingType() != EtetUndefined; in HasValidTessGenVertexOrder()
798 TCompiler *compiler = base->getAsCompiler(); in HasValidTessGenPointMode() local
799 ASSERT(compiler); in HasValidTessGenPointMode()
801 return compiler->getTessEvaluationShaderInputPointType() != EtetUndefined; in HasValidTessGenPointMode()
809 TCompiler *compiler = base->getAsCompiler(); in GetGeometryShaderInputPrimitiveType() local
810 ASSERT(compiler); in GetGeometryShaderInputPrimitiveType()
812 return GetGeometryShaderPrimitiveTypeEnum(compiler->getGeometryShaderInputPrimitiveType()); in GetGeometryShaderInputPrimitiveType()
820 TCompiler *compiler = base->getAsCompiler(); in GetGeometryShaderOutputPrimitiveType() local
821 ASSERT(compiler); in GetGeometryShaderOutputPrimitiveType()
823 return GetGeometryShaderPrimitiveTypeEnum(compiler->getGeometryShaderOutputPrimitiveType()); in GetGeometryShaderOutputPrimitiveType()
831 TCompiler *compiler = base->getAsCompiler(); in GetGeometryShaderInvocations() local
832 ASSERT(compiler); in GetGeometryShaderInvocations()
834 return compiler->getGeometryShaderInvocations(); in GetGeometryShaderInvocations()
842 TCompiler *compiler = base->getAsCompiler(); in GetGeometryShaderMaxVertices() local
843 ASSERT(compiler); in GetGeometryShaderMaxVertices()
845 int maxVertices = compiler->getGeometryShaderMaxVertices(); in GetGeometryShaderMaxVertices()
855 TCompiler *compiler = base->getAsCompiler(); in GetTessControlShaderVertices() local
856 ASSERT(compiler); in GetTessControlShaderVertices()
858 int vertices = compiler->getTessControlShaderOutputVertices(); in GetTessControlShaderVertices()
867 TCompiler *compiler = base->getAsCompiler(); in GetTessGenMode() local
868 ASSERT(compiler); in GetTessGenMode()
870 return GetTessellationShaderTypeEnum(compiler->getTessEvaluationShaderInputPrimitiveType()); in GetTessGenMode()
878 TCompiler *compiler = base->getAsCompiler(); in GetTessGenSpacing() local
879 ASSERT(compiler); in GetTessGenSpacing()
881 return GetTessellationShaderTypeEnum(compiler->getTessEvaluationShaderInputVertexSpacingType()); in GetTessGenSpacing()
889 TCompiler *compiler = base->getAsCompiler(); in GetTessGenVertexOrder() local
890 ASSERT(compiler); in GetTessGenVertexOrder()
892 return GetTessellationShaderTypeEnum(compiler->getTessEvaluationShaderInputOrderingType()); in GetTessGenVertexOrder()
900 TCompiler *compiler = base->getAsCompiler(); in GetTessGenPointMode() local
901 ASSERT(compiler); in GetTessGenPointMode()
903 return GetTessellationShaderTypeEnum(compiler->getTessEvaluationShaderInputPointType()); in GetTessGenPointMode()
911 TCompiler *compiler = base->getAsCompiler(); in GetShaderSharedMemorySize() local
912 ASSERT(compiler); in GetShaderSharedMemorySize()
914 unsigned int sharedMemorySize = compiler->getSharedMemorySize(); in GetShaderSharedMemorySize()