Home
last modified time | relevance | path

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

123456

/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()
/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.hpp104 GlslSource& operator<< (const glu::ShaderSource& shaderSource);
114 HlslSource& operator<< (const glu::ShaderSource& shaderSource);
118 tcu::TestLog& operator<< (tcu::TestLog& log, const GlslSource& shaderSource);
119 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()
349 spec.assembly = shaderSource.specialize(shaderSpec); in addComputeWorkgroupMemoryTests()
382 spec.assembly = shaderSource.specialize(shaderSpec); in addComputeWorkgroupMemoryTests()
408 spec.assembly = shaderSource.specialize(shaderSpec); in addComputeWorkgroupMemoryTests()
438 spec.assembly = shaderSource.specialize(shaderSpec); in addComputeWorkgroupMemoryTests()
471 spec.assembly = shaderSource.specialize(shaderSpec); in addComputeWorkgroupMemoryTests()
507 spec.assembly = shaderSource.specialize(shaderSpec); in addComputeWorkgroupMemoryTests()
537 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.cpp54 const string shaderSource = in addComputeUboMatrixPaddingTest() local
136 spec.assembly = shaderSource; in addComputeUboMatrixPaddingTest()
/external/deqp/external/vulkancts/modules/vulkan/robustness/
DvktRobustBufferAccessWithVariablePointersTests.cpp826 ShaderStream shaderSource; in MakeShader() local
829 shaderSource in MakeShader()
840 shaderSource in MakeShader()
846 shaderSource in MakeShader()
853 shaderSource in MakeShader()
866 shaderSource in MakeShader()
880 shaderSource in MakeShader()
895 shaderSource in MakeShader()
906 shaderSource in MakeShader()
911 shaderSource in MakeShader()
[all …]
/external/angle/src/tests/perf_tests/
DCompilerPerf.cpp225 const char *shaderSource, in CompilerPerfParameters()
227 : CompilerParameters(output), shaderSource(shaderSource) in CompilerPerfParameters()
234 const char *shaderSource; member
288 setTestShader(params.shaderSource); in SetUp()
/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/tensorflow/tensorflow/lite/delegates/gpu/metal/
Dbuffer_convert.mm36 std::string shaderSource;
38 shaderSource = R"(
60 shaderSource = R"(
82 NSString* code = [NSString stringWithCString:shaderSource.c_str()
/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.cpp106 const char* shaderSource,
129 const char* shaderSource, in ShaderDiscardCase() argument
139 m_fragShaderSource = shaderSource; in ShaderDiscardCase()
/external/deqp/external/openglcts/modules/common/subgroups/
DglcSubgroupsTestsUtils.cpp191 string shaderSource(shaderTemplate.specialize(templateArgs)); in makeGraphicsPipeline() local
195 << shaderSource << "\n:end:" << tcu::TestLog::EndMessage; in makeGraphicsPipeline()
197 vertSource = shaderSource; in makeGraphicsPipeline()
203 string shaderSource(shaderTemplate.specialize(templateArgs)); in makeGraphicsPipeline() local
207 << shaderSource << "\n:end:" << tcu::TestLog::EndMessage; in makeGraphicsPipeline()
209 tescSource = shaderSource; in makeGraphicsPipeline()
215 string shaderSource(shaderTemplate.specialize(templateArgs)); in makeGraphicsPipeline() local
219 << shaderSource << "\n:end:" << tcu::TestLog::EndMessage; in makeGraphicsPipeline()
221 teseSource = shaderSource; in makeGraphicsPipeline()
227 string shaderSource(shaderTemplate.specialize(templateArgs)); in makeGraphicsPipeline() local
[all …]

123456