Home
last modified time | relevance | path

Searched refs:shaderSource (Results 1 – 25 of 122) sorted by relevance

12345

/external/deqp/modules/gles31/functional/
Des31fNegativeShaderFunctionTests.cpp183 void verifyShader (NegativeTestContext& ctx, glu::ShaderType shaderType, std::string shaderSource) in verifyShader() argument
186 const char* source = shaderSource.c_str(); in verifyShader()
187 const int length = (int) shaderSource.size(); in verifyShader()
377 …const std::string shaderSource(genShaderSourceBitfieldExtract(ctx, s_shaders[shaderNdx], s_floatTy… in bitfield_extract_invalid_value_type() local
378 verifyShader(ctx, s_shaders[shaderNdx], shaderSource); in bitfield_extract_invalid_value_type()
401 …const std::string shaderSource(genShaderSourceBitfieldExtract(ctx, s_shaders[shaderNdx], s_intType… in bitfield_extract_invalid_offset_type() local
402 verifyShader(ctx, s_shaders[shaderNdx], shaderSource); in bitfield_extract_invalid_offset_type()
405 …const std::string shaderSource(genShaderSourceBitfieldExtract(ctx, s_shaders[shaderNdx], s_uintTyp… in bitfield_extract_invalid_offset_type() local
406 verifyShader(ctx, s_shaders[shaderNdx], shaderSource); in bitfield_extract_invalid_offset_type()
431 …const std::string shaderSource(genShaderSourceBitfieldExtract(ctx, s_shaders[shaderNdx], s_intType… in bitfield_extract_invalid_bits_type() local
[all …]
Des31fNegativePreciseTests.cpp146 std::string shaderSource = generateShaderSource(ctx, shaderType, test); in generateAndVerifyShader() local
147 const char* const source = shaderSource.c_str(); in generateAndVerifyShader()
148 const int length = (int) shaderSource.size(); in generateAndVerifyShader()
Des31fNegativeSampleVariablesTests.cpp45 void verifyShader (NegativeTestContext& ctx, glu::ShaderType shaderType, std::string shaderSource, … in verifyShader() argument
51 const char* const source = shaderSource.c_str(); in verifyShader()
52 const int length = (int) shaderSource.size(); in verifyShader()
Des31fNegativeShaderDirectiveTests.cpp76 void verifyShader(NegativeTestContext& ctx, glu::ShaderType shaderType, std::string shaderSource, E… in verifyShader() argument
82 const char* const source = shaderSource.c_str(); in verifyShader()
83 const int length = (int) shaderSource.size(); in verifyShader()
/external/deqp/external/vulkancts/framework/vulkan/
DvkShaderProgram.cpp31 GlslSource& GlslSource::operator<< (const glu::ShaderSource& shaderSource) in operator <<() argument
33 sources[shaderSource.shaderType].push_back(shaderSource.source); in operator <<()
43 HlslSource& HlslSource::operator<< (const glu::ShaderSource& shaderSource) in operator <<() argument
45 sources[shaderSource.shaderType].push_back(shaderSource.source); in operator <<()
82 tcu::TestLog& operator<< (tcu::TestLog& log, const GlslSource& shaderSource) in operator <<() argument
84 return logShader(log, shaderSource.sources); in operator <<()
87 tcu::TestLog& operator<< (tcu::TestLog& log, const HlslSource& shaderSource) in operator <<() argument
89 return logShader(log, shaderSource.sources); in operator <<()
DvkShaderProgram.hpp96 GlslSource& operator<< (const glu::ShaderSource& shaderSource);
106 HlslSource& operator<< (const glu::ShaderSource& shaderSource);
110 tcu::TestLog& operator<< (tcu::TestLog& log, const GlslSource& shaderSource);
111 tcu::TestLog& operator<< (tcu::TestLog& log, const HlslSource& shaderSource);
/external/deqp/external/openglcts/modules/gl/
Dgl4cShadingLanguage420PackTests.hpp213 struct shaderSource struct in gl4cts::GLSL420Pack::Utils
215 shaderSource();
216 shaderSource(const shaderSource& source);
217 shaderSource(const glw::GLchar* source_code);
232 shaderCompilationException(const shaderSource& source, const glw::GLchar* message);
240 shaderSource m_shader_source;
271 void build(const shaderSource& compute_shader, const shaderSource& fragment_shader,
272 const shaderSource& geometry_shader, const shaderSource& tesselation_control_shader,
273 const shaderSource& tesselation_evaluation_shader, const shaderSource& vertex_shader,
276 void compile(glw::GLuint shader_id, const shaderSource& source) const;
[all …]
Dgl4cShadingLanguage420PackTests.cpp1616 …aderSource(Utils::SHADER_STAGES in_stage, bool in_use_version_400, Utils::shaderSource& out_source) in initShaderSource()
1766 Utils::shaderSource compute_shader; in testCompute()
1823 Utils::shaderSource fragment_data; in testDrawArray()
1824 Utils::shaderSource geometry_data; in testDrawArray()
1825 Utils::shaderSource tess_ctrl_data; in testDrawArray()
1826 Utils::shaderSource tess_eval_data; in testDrawArray()
1827 Utils::shaderSource vertex_data; in testDrawArray()
2050 Utils::shaderSource compute_shader; in testCompute()
2151 Utils::shaderSource fragment_data; in testDrawArray()
2152 Utils::shaderSource geometry_data; in testDrawArray()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmPointerParameterTests.cpp68 const string shaderSource = in addComputePointerParamToParamTest() local
137 spec.assembly = shaderSource; in addComputePointerParamToParamTest()
174 const string shaderSource = in addComputePointerParamToGlobalTest() local
253 spec.assembly = shaderSource; in addComputePointerParamToGlobalTest()
291 const string shaderSource = in addComputePointerBufferMemoryTest() local
384 spec.assembly = shaderSource; in addComputePointerBufferMemoryTest()
424 const string shaderSource = in addComputePointerBufferMemoryVariablePointersTest() local
513 spec.assembly = shaderSource; in addComputePointerBufferMemoryVariablePointersTest()
563 const string shaderSource = in addComputePointerWorkgroupMemoryVariablePointersTest() local
684 spec.assembly = shaderSource; in addComputePointerWorkgroupMemoryVariablePointersTest()
DvktSpvAsmWorkgroupMemoryTests.cpp183 const StringTemplate shaderSource ( in addComputeWorkgroupMemoryTests() local
290 spec.assembly = shaderSource.specialize(shaderSpec); in addComputeWorkgroupMemoryTests()
317 spec.assembly = shaderSource.specialize(shaderSpec); in addComputeWorkgroupMemoryTests()
348 spec.assembly = shaderSource.specialize(shaderSpec); in addComputeWorkgroupMemoryTests()
380 spec.assembly = shaderSource.specialize(shaderSpec); in addComputeWorkgroupMemoryTests()
406 spec.assembly = shaderSource.specialize(shaderSpec); in addComputeWorkgroupMemoryTests()
436 spec.assembly = shaderSource.specialize(shaderSpec); in addComputeWorkgroupMemoryTests()
468 spec.assembly = shaderSource.specialize(shaderSpec); in addComputeWorkgroupMemoryTests()
503 spec.assembly = shaderSource.specialize(shaderSpec); in addComputeWorkgroupMemoryTests()
533 spec.assembly = shaderSource.specialize(shaderSpec); in addComputeWorkgroupMemoryTests()
[all …]
DvktSpvAsmCompositeInsertTests.cpp153 const string shaderSource = in addComputeVectorCompositeInsertTests() local
190 spec.assembly = shaderSource; in addComputeVectorCompositeInsertTests()
294 const string shaderSource = in addComputeMatrixCompositeInsertTests() local
330 spec.assembly = shaderSource; in addComputeMatrixCompositeInsertTests()
444 const string shaderSource = in addComputeNestedStructCompositeInsertTests() local
486 spec.assembly = shaderSource; in addComputeNestedStructCompositeInsertTests()
DvktSpvAsmConditionalBranchTests.cpp65 const StringTemplate shaderSource ( in addComputeSameLabelsTest() local
119 spec.assembly = shaderSource.specialize(specs); in addComputeSameLabelsTest()
DvktSpvAsmUboMatrixPaddingTests.cpp53 const string shaderSource = in addComputeUboMatrixPaddingTest() local
135 spec.assembly = shaderSource; in addComputeUboMatrixPaddingTest()
/external/deqp/external/vulkancts/modules/vulkan/robustness/
DvktRobustBufferAccessWithVariablePointersTests.cpp829 ShaderStream shaderSource; in MakeShader() local
832 shaderSource in MakeShader()
843 shaderSource in MakeShader()
849 shaderSource in MakeShader()
856 shaderSource in MakeShader()
869 shaderSource in MakeShader()
883 shaderSource in MakeShader()
898 shaderSource in MakeShader()
909 shaderSource in MakeShader()
914 shaderSource in MakeShader()
[all …]
/external/deqp/modules/gles3/functional/
Des3fShaderReturnTests.cpp78 …t char* name, const char* description, bool isVertexCase, const char* shaderSource, ShaderEvalFunc…
82 …t char* name, const char* description, bool isVertexCase, const char* shaderSource, ShaderEvalFunc… in ShaderReturnCase() argument
87 m_vertShaderSource = shaderSource; in ShaderReturnCase()
99 m_fragShaderSource = shaderSource; in ShaderReturnCase()
Des3fShaderDiscardTests.cpp55 …text& context, const char* name, const char* description, const char* shaderSource, ShaderEvalFunc…
68 …text& context, const char* name, const char* description, const char* shaderSource, ShaderEvalFunc… in ShaderDiscardCase() argument
73 m_fragShaderSource = shaderSource; in ShaderDiscardCase()
/external/deqp/external/openglcts/modules/gles31/
Des31cTextureStorageMultisampleGetActiveUniformTests.cpp218 gl.shaderSource(fs_id, 1, /* count */ in iterate()
223 gl.shaderSource(fs_id, 1, /* count */ in iterate()
242 gl.shaderSource(vs_id, 1, /* count */ in iterate()
248 gl.shaderSource(vs_id, 1, /* count */ in iterate()
Des31cTextureStorageMultisampleFunctionalTests.cpp424 gl.shaderSource(vs_id, 1 /* count */, &vs_body, NULL); in iterate()
439 gl.shaderSource(fs_id, 1 /* count */, &fs_body, NULL); in iterate()
457 gl.shaderSource(fs_depth_preview_id, 1 /* count */, &fs_depth_preview_body, NULL); in iterate()
893 gl.shaderSource(fs_id, 1 /* count */, &fs_body, NULL); in iterate()
894 gl.shaderSource(vs_id, 1 /* count */, &vs_body, NULL); in iterate()
1791 gl.shaderSource(id, 1, &source, NULL); in compileShader()
2374 gl.shaderSource(id, 1, &source, NULL); in compileShader()
2539 gl.shaderSource(fs_id, 1 /* count */, &fs_body, NULL); in iterate()
2569 gl.shaderSource(vs_id, 1 /* count */, &vs_body, NULL); in iterate()
2839 gl.shaderSource(fs_id, 1 /* count */, &fs_body, NULL); in iterate()
[all …]
/external/deqp/external/openglcts/modules/glesext/texture_cube_map_array/
DesextcTextureCubeMapArrayETC2Support.cpp168 std::string shaderSource(glu::getGLSLVersionDeclaration(glslVersion)); in prepareProgram() local
169 shaderSource += shader[i].source; in prepareProgram()
170 const char* source = shaderSource.c_str(); in prepareProgram()
172 gl.shaderSource(shader[i].id, 1, &source, NULL); in prepareProgram()
198 << shaderSource << "\n" in prepareProgram()
/external/deqp/modules/gles2/functional/
Des2fShaderReturnTests.cpp83 …t char* name, const char* description, bool isVertexCase, const char* shaderSource, ShaderEvalFunc…
92 …t char* name, const char* description, bool isVertexCase, const char* shaderSource, ShaderEvalFunc… in ShaderReturnCase() argument
98 m_vertShaderSource = shaderSource; in ShaderReturnCase()
108 m_fragShaderSource = shaderSource; in ShaderReturnCase()
Des2fShaderDiscardTests.cpp61 …text& context, const char* name, const char* description, const char* shaderSource, ShaderEvalFunc…
74 …text& context, const char* name, const char* description, const char* shaderSource, ShaderEvalFunc… in ShaderDiscardCase() argument
79 m_fragShaderSource = shaderSource; in ShaderDiscardCase()
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderReturnTests.cpp74 const std::string& shaderSource,
84 const std::string& shaderSource, in ShaderReturnCase() argument
91 m_vertShaderSource = shaderSource; in ShaderReturnCase()
103 m_fragShaderSource = shaderSource; in ShaderReturnCase()
DvktShaderRenderDiscardTests.cpp104 const char* shaderSource,
121 const char* shaderSource, in ShaderDiscardCase() argument
127 m_fragShaderSource = shaderSource; in ShaderDiscardCase()
/external/deqp/framework/opengl/
DgluShaderProgram.hpp324 … operator<< (const ShaderSource& shaderSource) { sources[shaderSource.shaderType].push_ba… in operator <<()
/external/deqp/external/openglcts/modules/common/
DglcLimitTest.inl79 std::string shaderSource = createShader(); local
80 const GLchar* source = shaderSource.c_str();
85 gl.shaderSource(shader, 1, &source, NULL);

12345