Home
last modified time | relevance | path

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

1234567

/third_party/vk-gl-cts/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()
/third_party/vk-gl-cts/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.hpp111 GlslSource& operator<< (const glu::ShaderSource& shaderSource);
121 HlslSource& operator<< (const glu::ShaderSource& shaderSource);
125 tcu::TestLog& operator<< (tcu::TestLog& log, const GlslSource& shaderSource);
126 tcu::TestLog& operator<< (tcu::TestLog& log, const HlslSource& shaderSource);
/third_party/vk-gl-cts/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.cpp1614 …aderSource(Utils::SHADER_STAGES in_stage, bool in_use_version_400, Utils::shaderSource& out_source) in initShaderSource()
1763 Utils::shaderSource compute_shader; in testCompute()
1820 Utils::shaderSource fragment_data; in testDrawArray()
1821 Utils::shaderSource geometry_data; in testDrawArray()
1822 Utils::shaderSource tess_ctrl_data; in testDrawArray()
1823 Utils::shaderSource tess_eval_data; in testDrawArray()
1824 Utils::shaderSource vertex_data; in testDrawArray()
2047 Utils::shaderSource compute_shader; in testCompute()
2148 Utils::shaderSource fragment_data; in testDrawArray()
2149 Utils::shaderSource geometry_data; in testDrawArray()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/robustness/
DvktRobustBufferAccessWithVariablePointersTests.cpp863 ShaderStream shaderSource; in MakeShader() local
866 shaderSource in MakeShader()
872 shaderSource in MakeShader()
876 shaderSource in MakeShader()
885 shaderSource in MakeShader()
891 shaderSource in MakeShader()
898 shaderSource in MakeShader()
911 shaderSource in MakeShader()
925 shaderSource in MakeShader()
940 shaderSource in MakeShader()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/robustness/
DvktRobustBufferAccessWithVariablePointersTests.cpp863 ShaderStream shaderSource; in MakeShader() local
866 shaderSource in MakeShader()
872 shaderSource in MakeShader()
876 shaderSource in MakeShader()
885 shaderSource in MakeShader()
891 shaderSource in MakeShader()
898 shaderSource in MakeShader()
911 shaderSource in MakeShader()
925 shaderSource in MakeShader()
940 shaderSource in MakeShader()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/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
380 spec.assembly = shaderSource; in addComputePointerBufferMemoryTest()
420 const string shaderSource = in addComputePointerBufferMemoryVariablePointersTest() local
509 spec.assembly = shaderSource; in addComputePointerBufferMemoryVariablePointersTest()
559 const string shaderSource = in addComputePointerWorkgroupMemoryVariablePointersTest() local
680 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()
439 spec.assembly = shaderSource.specialize(shaderSpec); in addComputeWorkgroupMemoryTests()
472 spec.assembly = shaderSource.specialize(shaderSpec); in addComputeWorkgroupMemoryTests()
508 spec.assembly = shaderSource.specialize(shaderSpec); in addComputeWorkgroupMemoryTests()
538 spec.assembly = shaderSource.specialize(shaderSpec); in addComputeWorkgroupMemoryTests()
[all …]
/third_party/vk-gl-cts/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
380 spec.assembly = shaderSource; in addComputePointerBufferMemoryTest()
420 const string shaderSource = in addComputePointerBufferMemoryVariablePointersTest() local
509 spec.assembly = shaderSource; in addComputePointerBufferMemoryVariablePointersTest()
559 const string shaderSource = in addComputePointerWorkgroupMemoryVariablePointersTest() local
680 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()
439 spec.assembly = shaderSource.specialize(shaderSpec); in addComputeWorkgroupMemoryTests()
472 spec.assembly = shaderSource.specialize(shaderSpec); in addComputeWorkgroupMemoryTests()
508 spec.assembly = shaderSource.specialize(shaderSpec); in addComputeWorkgroupMemoryTests()
538 spec.assembly = shaderSource.specialize(shaderSpec); in addComputeWorkgroupMemoryTests()
[all …]
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DDepthStencilSamplingTests.cpp69 std::ostringstream& shaderSource, in GenerateSamplingShader() argument
71 shaderSource << "type StencilValues = array<u32, " << components.size() << ">;\n"; in GenerateSamplingShader()
72 shaderSource << R"( in GenerateSamplingShader()
79 shaderSource << "\n"; in GenerateSamplingShader()
85 shaderSource << "[[group(0), binding(" << 2 * index << ")]] var tex" << index in GenerateSamplingShader()
88 shaderSource << "[[group(0), binding(" << 2 * index + 1 in GenerateSamplingShader()
97 shaderSource << "[[group(0), binding(" << 2 * index << ")]] var tex" << index in GenerateSamplingShader()
100 shaderSource << "[[group(0), binding(" << 2 * index + 1 in GenerateSamplingShader()
127 std::ostringstream shaderSource; in CreateSamplingRenderPipeline() local
131 GenerateSamplingShader(aspects, components, shaderSource, shaderBody); in CreateSamplingRenderPipeline()
[all …]
/third_party/skia/third_party/externals/angle2/src/tests/perf_tests/
DCompilerPerf.cpp226 const char *shaderSource, in CompilerPerfParameters()
228 : CompilerParameters(output), shaderSource(shaderSource) in CompilerPerfParameters()
235 const char *shaderSource; member
289 setTestShader(params.shaderSource); in SetUp()
/third_party/skia/third_party/externals/angle2/src/tests/compiler_tests/
DPrecise_test.cpp79 const char *shaderSource) in TestShaderCompile() argument
81 const char *shaderStrings[] = {shaderSource}; in TestShaderCompile()
94 void TestShaderCompile(const char *shaderSource, size_t expectedNoContractionDecorationCount) in TestShaderCompile() argument
98 EXPECT_TRUE(TestShaderCompile(shaderOutputType.first, shaderSource)); in TestShaderCompile()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
Dglslang_wrapper.h30 const std::string &shaderSource,
37 const std::string &shaderSource,
Dglslang_wrapper.cpp110 const std::string &shaderSource, in GlslangCompileToSpirv() argument
148 const char *shaderString = shaderSource.c_str(); in GlslangCompileToSpirv()
149 int shaderLength = static_cast<int>(shaderSource.size()); in GlslangCompileToSpirv()
/third_party/vk-gl-cts/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()
/third_party/vk-gl-cts/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()
/third_party/vk-gl-cts/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()
/third_party/vk-gl-cts/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()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/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()
/third_party/vk-gl-cts/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()

1234567