HomeSort by relevance Sort by last modified time
    Searched refs:glu (Results 126 - 150 of 886) sorted by null

1 2 3 4 56 7 8 91011>>

  /external/deqp/modules/gles31/functional/
es31fNegativeTestShared.cpp 51 glu::RenderContext& renderCtx,
52 const glu::ContextInfo& ctxInfo,
56 : glu::CallLogWrapper (renderCtx.getFunctions(), log)
113 bool NegativeTestContext::isShaderSupported (glu::ShaderType shaderType)
115 if (contextSupports(getRenderContext().getType(), glu::ApiType::es(3, 2)))
120 case glu::SHADERTYPE_GEOMETRY:
122 case glu::SHADERTYPE_TESSELLATION_CONTROL:
123 case glu::SHADERTYPE_TESSELLATION_EVALUATION:
es31fProgramPipelineStateQueryTests.cpp 100 const glu::ShaderProgram vtxProgram (m_context.getRenderContext(), glu::ProgramSources() << glu::ProgramSeparable(true) << glu::VertexSource(s_vertexSource));
101 const glu::ShaderProgram frgProgram (m_context.getRenderContext(), glu::ProgramSources() << glu::ProgramSeparable(true) << glu::FragmentSource(s_fragmentSource));
102 const glu::ProgramPipeline pipeline (m_context.getRenderContext());
103 glu::CallLogWrapper gl (m_context.getRenderContext().getFunctions(), m_testCtx.getLog())
    [all...]
es31fProgramStateQueryTests.cpp 67 const glu::GLSLVersion glslVersion = glu::getContextTypeGLSLVersion(context.getRenderContext().getType());
70 specializationMap["GLSL_VERSION_DECL"] = glu::getGLSLVersionDeclaration(glslVersion);
72 if (glu::contextSupports(context.getRenderContext().getType(), glu::ApiType::es(3, 2)))
105 const bool supportsES32 = glu::contextSupports(m_context.getRenderContext().getType(), glu::ApiType::es(3, 2));
143 glu::CallLogWrapper gl (m_context.getRenderContext().getFunctions(), m_testCtx.getLog());
150 glu::ShaderProgram program (m_context.getRenderContext(), glu::ProgramSources(
    [all...]
es31fBooleanStateQueryTests.cpp 58 class IsEnabledStateTestCase : public TestCase, private glu::CallLogWrapper
61 IsEnabledStateTestCase (Context& context, QueryType verifier, const char* name, const char* description, glw::GLenum targetName, bool initial, glu::ApiType minimumContextVersion)
63 , glu::CallLogWrapper (context.getRenderContext().getFunctions(), context.getTestContext().getLog())
99 const glu::ApiType m_minimumVersion;
115 const bool isDebugContext = (m_context.getRenderContext().getType().getFlags() & glu::CONTEXT_DEBUG) != 0;
140 glu::ApiType minimumContext;
146 { "sample_mask", "SAMPLE_MASK", GL_SAMPLE_MASK, false, glu::ApiType::es(3, 1)},
147 { "sample_shading", "SAMPLE_SHADING", GL_SAMPLE_SHADING, false, glu::ApiType::es(3, 2)},
148 { "debug_output", "DEBUG_OUTPUT", GL_DEBUG_OUTPUT, isDebugContext, glu::ApiType::es(3, 2)},
149 { "debug_output_synchronous", "DEBUG_OUTPUT_SYNCHRONOUS", GL_DEBUG_OUTPUT_SYNCHRONOUS, false, glu::ApiType::es(3, 2)}
    [all...]
es31fUniformLocationTests.cpp 66 using glu::VarType;
98 glu::RenderContext& renderContext,
108 static glu::ProgramSources genShaderSources (const vector<UniformInfo>& uniformList);
109 bool verifyLocations (const glu::ShaderProgram& program, const vector<UniformInfo>& uniformList);
110 void render (const glu::ShaderProgram& program, const vector<UniformInfo>& uniformList);
113 static float getExpectedValue (glu::DataType type, int id, const char* name);
115 de::MovePtr<glu::Texture2D> createTexture (glu::DataType samplerType, float redChannelValue, int binding);
117 glu::RenderContext& m_renderCtx;
127 string getUniformName (int ndx, const glu::VarType& type, const glu::TypeComponentVector& path
    [all...]
  /external/deqp/modules/glshared/
glsBuiltinPrecisionTests.hpp 55 glu::RenderContext& renderCtx,
57 const std::vector<glu::ShaderType>& shaderTypes,
glsRandomUniformBlockCase.cpp 40 glu::RenderContext& renderCtx,
41 glu::GLSLVersion glslVersion,
198 vector<glu::DataType> typeCandidates;
200 typeCandidates.push_back(glu::TYPE_FLOAT);
201 typeCandidates.push_back(glu::TYPE_INT);
202 typeCandidates.push_back(glu::TYPE_UINT);
203 typeCandidates.push_back(glu::TYPE_BOOL);
207 typeCandidates.push_back(glu::TYPE_FLOAT_VEC2);
208 typeCandidates.push_back(glu::TYPE_FLOAT_VEC3);
209 typeCandidates.push_back(glu::TYPE_FLOAT_VEC4)
    [all...]
  /external/deqp/external/vulkancts/framework/vulkan/
vkShaderProgram.cpp 31 GlslSource& GlslSource::operator<< (const glu::ShaderSource& shaderSource)
43 HlslSource& HlslSource::operator<< (const glu::ShaderSource& shaderSource)
55 tcu::TestLog& logShader(tcu::TestLog& log, const std::vector<std::string> (&sources)[glu::SHADERTYPE_LAST])
61 for (int shaderType = 0; shaderType < glu::SHADERTYPE_LAST; shaderType++)
65 log << tcu::TestLog::Shader(glu::getLogShaderType((glu::ShaderType)shaderType),
  /external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
vktShaderExecutor.hpp 44 glu::VarType varType; //!< Symbol type.
47 Symbol (const std::string& name_, const glu::VarType& varType_) : name(name_), varType(varType_) {}
53 glu::GLSLVersion glslVersion;
61 : glslVersion(glu::GLSL_VERSION_310_ES)
94 void generateSources (glu::ShaderType shaderType, const ShaderSpec& shaderSpec, vk::SourceCollections& dst);
95 ShaderExecutor* createExecutor (Context& context, glu::ShaderType shaderType, const ShaderSpec& shaderSpec, vk::VkDescriptorSetLayout extraResourcesLayout = (vk::VkDescriptorSetLayout)0);
vktShaderCommonFunctionTests.cpp 131 inline bool supportsSignedZero (glu::Precision precision)
135 return precision == glu::PRECISION_HIGHP;
157 static int getMinMantissaBits (glu::Precision precision)
165 DE_STATIC_ASSERT(DE_LENGTH_OF_ARRAY(bits) == glu::PRECISION_LAST);
170 static int getMaxNormalizedValueExponent (glu::Precision precision)
178 DE_STATIC_ASSERT(DE_LENGTH_OF_ARRAY(exponent) == glu::PRECISION_LAST);
183 static int getMinNormalizedValueExponent (glu::Precision precision)
191 DE_STATIC_ASSERT(DE_LENGTH_OF_ARRAY(exponent) == glu::PRECISION_LAST);
196 static float makeFloatRepresentable (float f, glu::Precision precision)
198 if (precision == glu::PRECISION_HIGHP
    [all...]
  /external/deqp/external/vulkancts/modules/vulkan/ssbo/
vktSSBOLayoutTests.cpp 54 using glu::VarType;
55 using glu::StructType;
85 glu::VarType generateType (de::Random& rnd, int typeDepth, bool arrayOk, bool unusedArrayOk);
170 const glu::VarType& lastType = lastVar.getType();
171 const bool isUnsizedArr = lastType.isArrayType() && (lastType.getArraySize() == glu::VarType::UNSIZED_ARRAY);
209 const glu::VarType type = generateType(rnd, 0, true, isLastMember && (m_features & FEATURE_UNSIZED_ARRAYS));
220 glu::VarType RandomSSBOLayoutCase::generateType (de::Random& rnd, int typeDepth, bool arrayOk, bool unsizedArrayOk)
231 const glu::VarType elementType = generateType(rnd, typeDepth, childArrayOk, false);
232 return glu::VarType(elementType, glu::VarType::UNSIZED_ARRAY)
    [all...]
  /external/deqp/external/openglcts/modules/common/
glcUniformBlockTests.cpp 65 RandomUniformBlockCase(Context& context, const char* name, const char* description, glu::GLSLVersion glslVersion,
92 glu::GLSLVersion glslVersion, BufferMode bufferMode, deUint32 features,
245 vector<glu::DataType> typeCandidates;
247 typeCandidates.push_back(glu::TYPE_FLOAT);
248 typeCandidates.push_back(glu::TYPE_INT);
249 typeCandidates.push_back(glu::TYPE_UINT);
250 typeCandidates.push_back(glu::TYPE_BOOL);
254 typeCandidates.push_back(glu::TYPE_FLOAT_VEC2);
255 typeCandidates.push_back(glu::TYPE_FLOAT_VEC3);
256 typeCandidates.push_back(glu::TYPE_FLOAT_VEC4)
    [all...]
  /external/deqp/modules/gles3/functional/
es3fShaderPackingFunctionTests.cpp 72 ShaderPackingFunctionCase (Context& context, const char* name, const char* description, glu::ShaderType shaderType);
79 glu::ShaderType m_shaderType;
88 ShaderPackingFunctionCase::ShaderPackingFunctionCase (Context& context, const char* name, const char* description, glu::ShaderType shaderType)
93 m_spec.version = glu::GLSL_VERSION_300_ES;
120 static const char* getPrecisionPostfix (glu::Precision precision)
128 DE_STATIC_ASSERT(DE_LENGTH_OF_ARRAY(s_postfix) == glu::PRECISION_LAST);
133 static const char* getShaderTypePostfix (glu::ShaderType shaderType)
147 PackSnorm2x16Case (Context& context, glu::ShaderType shaderType, glu::Precision precision)
151 m_spec.inputs.push_back(Symbol("in0", glu::VarType(glu::TYPE_FLOAT_VEC2, precision)))
    [all...]
es3fTransformFeedbackTests.cpp 98 Varying (const char* name_, const glu::VarType& type_, Interpolation interp_)
106 glu::VarType type; //!< Variable type.
120 Attribute (const std::string& name_, const glu::VarType& type_, int offset_)
128 glu::VarType type;
149 glu::VarType type;
184 glu::StructType* createStruct (const char* name);
185 void addVarying (const char* name, const glu::VarType& type, Interpolation interp);
188 const vector<glu::StructType*>& getStructs (void) const { return m_structs; }
197 vector<glu::StructType*> m_structs;
210 for (vector<glu::StructType*>::iterator i = m_structs.begin(); i != m_structs.end(); i++
    [all...]
es3fShaderDerivateTests.cpp 186 static inline tcu::BVec4 getDerivateMask (glu::DataType type)
190 case glu::TYPE_FLOAT: return tcu::BVec4(true, false, false, false);
191 case glu::TYPE_FLOAT_VEC2: return tcu::BVec4(true, true, false, false);
192 case glu::TYPE_FLOAT_VEC3: return tcu::BVec4(true, true, true, false);
193 case glu::TYPE_FLOAT_VEC4: return tcu::BVec4(true, true, true, true);
222 static int getNumMantissaBits (const glu::Precision precision)
226 case glu::PRECISION_HIGHP: return 23;
227 case glu::PRECISION_MEDIUMP: return 10;
228 case glu::PRECISION_LOWP: return 6;
235 static int getMinExponent (const glu::Precision precision
    [all...]
es3fUniformBlockTests.cpp 53 group->addChild(new RandomUniformBlockCase(context.getTestContext(), context.getRenderContext(), glu::GLSL_VERSION_300_ES,
61 : UniformBlockCase(context.getTestContext(), context.getRenderContext(), name, description, glu::GLSL_VERSION_300_ES, BUFFERMODE_PER_BLOCK)
88 : UniformBlockCase (context.getTestContext(), context.getRenderContext(), name, description, glu::GLSL_VERSION_300_ES, bufferMode)
97 typeS.addMember("a", VarType(glu::TYPE_INT_VEC3, PRECISION_HIGH), UNUSED_BOTH); // First member is unused.
98 typeS.addMember("b", VarType(VarType(glu::TYPE_FLOAT_MAT3, PRECISION_MEDIUM), 4));
99 typeS.addMember("c", VarType(glu::TYPE_FLOAT_VEC4, PRECISION_HIGH));
121 : UniformBlockCase (context.getTestContext(), context.getRenderContext(), name, description, glu::GLSL_VERSION_300_ES, bufferMode)
130 typeS.addMember("a", VarType(glu::TYPE_INT_VEC3, PRECISION_HIGH), UNUSED_BOTH);
131 typeS.addMember("b", VarType(VarType(glu::TYPE_FLOAT_MAT3, PRECISION_MEDIUM), 4));
132 typeS.addMember("c", VarType(glu::TYPE_FLOAT_VEC4, PRECISION_HIGH))
    [all...]
es3fShaderFragDataTests.cpp 112 static glu::ProgramSources genSources (const IndexExprType indexExprType)
117 glu::ProgramSources sources;
121 sources << glu::VertexSource(
134 sources << glu::FragmentSource(string(
148 const glu::RenderContext& renderCtx = m_context.getRenderContext();
150 const glu::ShaderProgram program (renderCtx, genSources(m_indexExprType));
171 const glu::VertexArrayBinding vertexArrays[] =
173 glu::va::Float("a_position", 2, 4, 0, &positions[0]),
174 glu::va::Float("a_color", 4, 4, 0, &colors[0]),
175 glu::va::Float("a_index", 1, 4, 0, &indexValues[0]
    [all...]
es3fInstancedRenderingTests.cpp 107 InstancedRenderingCase (Context& context, const char* name, const char* description, DrawFunction function, InstancingType instancingType, glu::DataType rgbAttrType, int numInstances);
126 glu::DataType m_rgbAttrType; // \note Instance attribute types, color components only. Position offset attribute is always float/vecN.
139 glu::ShaderProgram* m_program;
142 InstancedRenderingCase::InstancedRenderingCase (Context& context, const char* name, const char* description, DrawFunction function, InstancingType instancingType, glu::DataType rgbAttrType, int numInstances)
160 bool isFloatCase = glu::isDataTypeFloatOrVec(m_rgbAttrType);
161 bool isIntCase = glu::isDataTypeIntOrIVec(m_rgbAttrType);
162 bool isUintCase = glu::isDataTypeUintOrUVec(m_rgbAttrType);
163 bool isMatCase = glu::isDataTypeMatrix(m_rgbAttrType);
177 bool isFloatCase = glu::isDataTypeFloatOrVec(m_rgbAttrType);
178 bool isIntCase = glu::isDataTypeIntOrIVec(m_rgbAttrType)
    [all...]
es3fFboTestUtil.hpp 49 std::vector<glu::DataType> vec;
50 DataTypes& operator<< (glu::DataType type) { vec.push_back(type); return *this; }
58 FlatColorShader (glu::DataType outputType);
67 const glu::DataType m_outputType;
73 GradientShader (glu::DataType outputType);
82 const glu::DataType m_outputType;
88 Texture2DShader (const DataTypes& samplerTypes, glu::DataType outputType, const tcu::Vec4& outScale = tcu::Vec4(1.0f), const tcu::Vec4& outBias = tcu::Vec4(0.0f));
112 const glu::DataType m_outputType;
118 TextureCubeShader (glu::DataType samplerType, glu::DataType outputType)
    [all...]
  /external/deqp/external/openglcts/modules/gl/
gl3cTextureSizePromotion.cpp 74 glu::ContextType context_type = m_context.getRenderContext().getType();
86 if (glu::contextSupports(context_type, glu::ApiType::core(3, 1)))
95 if (glu::contextSupports(context_type, s_formats[i].required_by_context.getAPI()))
104 (!glu::contextSupports(context_type, glu::ApiType::core(4, 3))))
556 << "Expected red type = " << glu::getTypeStr(descriptor.expected_red_type)
557 << ", expected green type = " << glu::getTypeStr(descriptor.expected_green_type)
558 << ", expected blue type = " << glu::getTypeStr(descriptor.expected_blue_type)
559 << ", expected alpha type = " << glu::getTypeStr(descriptor.expected_alpha_type
    [all...]
gl4cSpirvExtensionsTests.cpp 39 using namespace glu;
58 glu::ContextType contextType = m_context.getRenderContext().getType();
59 if (!glu::contextSupports(contextType, glu::ApiType::core(4, 6)) &&
65 if (!glu::contextSupports(contextType, glu::ApiType::core(4, 6)) &&
116 << " should generate INVALID_VALUE error instead of " << glu::getErrorName(err) << "\n"
  /external/deqp/framework/platform/ios/
tcuIOSPlatform.mm 65 : glu::ContextFactory ("eagl", "iOS EAGL Context")
74 glu::RenderContext* ContextFactory::createContext (const glu::RenderConfig& config, const tcu::CommandLine&) const
80 if (config.surfaceType == glu::RenderConfig::SURFACETYPE_OFFSCREEN_GENERIC)
81 return new glu::FboRenderContext(rawContext, config);
82 else if (config.surfaceType == glu::RenderConfig::SURFACETYPE_WINDOW)
107 static EAGLRenderingAPI getEAGLApi (glu::ContextType type)
109 if (type.getAPI() == glu::ApiType::es(3,0))
111 else if (type.getAPI() == glu::ApiType::es(2,0))
117 RawContext::RawContext (glu::ContextType type
    [all...]
  /external/deqp/external/vulkancts/modules/vulkan/pipeline/
vktPipelineSpecConstantTests.cpp 294 src << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_440) << "\n"
308 programCollection.glslSources.add("vert") << glu::VertexSource(src.str());
315 src << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_440) << "\n"
327 programCollection.glslSources.add("frag") << glu::FragmentSource(src.str());
334 src << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_440) << "\n"
357 programCollection.glslSources.add("tesc") << glu::TessellationControlSource(src.str());
364 src << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_440) << "\n
    [all...]
  /external/deqp/external/openglcts/modules/gles3/
es3cTestPackage.cpp 72 glu::resetState(m_testPackage.getContext().getRenderContext(), m_testPackage.getContext().getContextInfo());
81 glu::resetState(m_testPackage.getContext().getRenderContext(), m_testPackage.getContext().getContextInfo());
87 glu::RenderContext& renderCtx = m_testPackage.getContext().getRenderContext();
128 addChild(new deqp::FragDepthTests(m_context, glu::GLSL_VERSION_300_ES));
129 addChild(new deqp::ShaderIndexingTests(m_context, glu::GLSL_VERSION_300_ES));
130 addChild(new deqp::ShaderLoopTests(m_context, glu::GLSL_VERSION_300_ES));
134 addChild(new deqp::ShaderStructTests(m_context, glu::GLSL_VERSION_300_ES));
135 addChild(new deqp::ShaderSwitchTests(m_context, glu::GLSL_VERSION_300_ES));
136 addChild(new deqp::UniformBlockTests(m_context, glu::GLSL_VERSION_300_ES));
137 addChild(new deqp::ShaderIntegerMixTests(m_context, glu::GLSL_VERSION_300_ES))
    [all...]
  /external/deqp/external/openglcts/modules/runner/
glcTestRunner.hpp 47 glu::ApiType apiType;
66 glu::ApiType runType;
77 runType = glu::ApiType();
100 TestRunner(tcu::Platform& platform, tcu::Archive& archive, const char* logDirPath, glu::ApiType type,
132 glu::ApiType m_type;

Completed in 691 milliseconds

1 2 3 4 56 7 8 91011>>