Home
last modified time | relevance | path

Searched refs:shaderSource (Results 1 - 25 of 123) sorted by relevance

12345

/third_party/vk-gl-cts/modules/gles31/functional/
H A 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_floatTypes[dataTypeNdx], glu::TYPE_INT, glu::TYPE_INT)); in bitfield_extract_invalid_value_type()
378 verifyShader(ctx, s_shaders[shaderNdx], shaderSource); in bitfield_extract_invalid_value_type()
401 const std::string shaderSource(genShaderSourceBitfieldExtract(ctx, s_shaders[shaderNdx], s_intTypes[dataTypeNdx], s_nonScalarIntTypes[nonIntNdx], glu::TYPE_INT)); in bitfield_extract_invalid_offset_type()
402 verifyShader(ctx, s_shaders[shaderNdx], shaderSource); in bitfield_extract_invalid_offset_type()
405 const std::string shaderSource(genShaderSourceBitfieldExtract(ctx, s_shaders[shaderNdx], s_uintTypes[dataTypeNdx], s_nonScalarIntTypes[nonIntNdx], glu::TYPE_INT)); in bitfield_extract_invalid_offset_type()
406 verifyShader(ctx, s_shaders[shaderNdx], shaderSource); in bitfield_extract_invalid_offset_type()
431 const std::string shaderSource(genShaderSourceBitfieldExtrac in bitfield_extract_invalid_bits_type()
910 const std::string shaderSource = genShaderSourceAddCarrySubBorrow(ctx, s_shaders[shaderNdx], SHADER_FUNCTION_USUB_BORROW, s_uintTypes[dataTypeNdx], s_uintTypes[dataTypeNdx2], s_uintTypes[dataTypeNdx]); usub_borrow_invalid_y() local
3063 const std::string shaderSource = genShaderSourceGeometry(ctx, s_shaders[shaderNdx], SHADER_FUNCTION_EMIT_VERTEX); emit_vertex() local
3082 const std::string shaderSource = genShaderSourceGeometry(ctx, s_shaders[shaderNdx], SHADER_FUNCTION_END_PRIMITIVE); end_primitive() local
[all...]
H A 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/
H A 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 in operator <<()
[all...]
H A 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/
H A 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
[all...]
H A Dgl4cShadingLanguage420PackTests.cpp1608 /** Initialize shaderSource instance, reserve storage and prepare shader source
1614 void TestBase::initShaderSource(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_dat in testDrawArray()
17863 Utils::shaderSource::shaderSource() shaderSource() function in gl4cts::GLSL420Pack::Utils::shaderSource
17867 Utils::shaderSource::shaderSource(const shaderSource& source) : m_parts(source.m_parts), m_use_lengths(false) shaderSource() function in gl4cts::GLSL420Pack::Utils::shaderSource
17871 Utils::shaderSource::shaderSource(const glw::GLchar* source_code) : m_use_lengths(false) shaderSource() function in gl4cts::GLSL420Pack::Utils::shaderSource
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/
H A 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()
[all...]
H A DvktSpvAsmWorkgroupMemoryTests.cpp183 const StringTemplate shaderSource ( in addComputeWorkgroupMemoryTests()
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 in addComputeWorkgroupMemoryTests()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/spirv_assembly/
H A 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()
[all...]
H A DvktSpvAsmWorkgroupMemoryTests.cpp183 const StringTemplate shaderSource ( in addComputeWorkgroupMemoryTests()
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 in addComputeWorkgroupMemoryTests()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/robustness/
H A DvktRobustBufferAccessWithVariablePointersTests.cpp859 ShaderStream shaderSource; in MakeShader() local
862 shaderSource in MakeShader()
868 shaderSource in MakeShader()
872 shaderSource in MakeShader()
881 shaderSource in MakeShader()
887 shaderSource in MakeShader()
894 shaderSource in MakeShader()
907 shaderSource in MakeShader()
921 shaderSource in MakeShader()
936 shaderSource in MakeShader()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/robustness/
H A 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/skia/third_party/externals/angle2/src/tests/perf_tests/
H A 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/dawn/src/tests/end2end/
H A DDepthStencilSamplingTests.cpp69 std::ostringstream& shaderSource, in GenerateSamplingShader()
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, shaderBod in CreateSamplingRenderPipeline()
67 GenerateSamplingShader(const std::vector<TestAspect>& aspects, const std::vector<uint32_t> components, std::ostringstream& shaderSource, std::ostringstream& shaderBody) GenerateSamplingShader() argument
147 std::ostringstream shaderSource; CreateSamplingComputePipeline() local
[all...]
/third_party/skia/third_party/externals/angle2/src/tests/compiler_tests/
H A DPrecise_test.cpp79 const char *shaderSource) in TestShaderCompile()
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()
78 TestShaderCompile(ShShaderOutput shaderOutputType, const char *shaderSource) TestShaderCompile() argument
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
H A Dglslang_wrapper.h30 const std::string &shaderSource,
37 const std::string &shaderSource,
H A Dglslang_wrapper.cpp110 const std::string &shaderSource, in GlslangCompileToSpirv()
148 const char *shaderString = shaderSource.c_str(); in GlslangCompileToSpirv()
149 int shaderLength = static_cast<int>(shaderSource.size()); in GlslangCompileToSpirv()
108 GlslangCompileToSpirv(const ShBuiltInResources &resources, sh::GLenum shaderType, const std::string &shaderSource, angle::spirv::Blob *spirvBlobOut) GlslangCompileToSpirv() argument
/third_party/vk-gl-cts/external/openglcts/modules/gles31/
H A 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/
H A Des3fShaderReturnTests.cpp78 ShaderReturnCase (Context& context, const char* name, const char* description, bool isVertexCase, const char* shaderSource, ShaderEvalFunc evalFunc);
82 ShaderReturnCase::ShaderReturnCase (Context& context, const char* name, const char* description, bool isVertexCase, const char* shaderSource, ShaderEvalFunc evalFunc) in ShaderReturnCase() argument
87 m_vertShaderSource = shaderSource; in ShaderReturnCase()
99 m_fragShaderSource = shaderSource; in ShaderReturnCase()
H A Des3fShaderDiscardTests.cpp55 ShaderDiscardCase (Context& context, const char* name, const char* description, const char* shaderSource, ShaderEvalFunc evalFunc, bool usesTexture);
68 ShaderDiscardCase::ShaderDiscardCase (Context& context, const char* name, const char* description, const char* shaderSource, ShaderEvalFunc evalFunc, bool usesTexture) in ShaderDiscardCase() argument
73 m_fragShaderSource = shaderSource; in ShaderDiscardCase()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/
H A DvktShaderRenderReturnTests.cpp73 const std::string& shaderSource,
82 const std::string& shaderSource, in ShaderReturnCase()
89 m_vertShaderSource = shaderSource; in ShaderReturnCase()
101 m_fragShaderSource = shaderSource; in ShaderReturnCase()
79 ShaderReturnCase(tcu::TestContext& testCtx, const std::string& name, bool isVertexCase, const std::string& shaderSource, const ShaderEvalFunc evalFunc, const UniformSetup* uniformFunc) ShaderReturnCase() argument
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderrender/
H A DvktShaderRenderReturnTests.cpp74 const std::string& shaderSource,
84 const std::string& shaderSource, in ShaderReturnCase()
91 m_vertShaderSource = shaderSource; in ShaderReturnCase()
103 m_fragShaderSource = shaderSource; in ShaderReturnCase()
80 ShaderReturnCase(tcu::TestContext& testCtx, const std::string& name, const std::string& description, bool isVertexCase, const std::string& shaderSource, const ShaderEvalFunc evalFunc, const UniformSetup* uniformFunc) ShaderReturnCase() argument
/third_party/vk-gl-cts/modules/gles2/functional/
H A Des2fShaderReturnTests.cpp83 ShaderReturnCase (Context& context, const char* name, const char* description, bool isVertexCase, const char* shaderSource, ShaderEvalFunc evalFunc, deUint32 requirements = 0);
92 ShaderReturnCase::ShaderReturnCase (Context& context, const char* name, const char* description, bool isVertexCase, const char* shaderSource, ShaderEvalFunc evalFunc, deUint32 requirements) in ShaderReturnCase() argument
98 m_vertShaderSource = shaderSource; in ShaderReturnCase()
108 m_fragShaderSource = shaderSource; in ShaderReturnCase()
H A Des2fShaderDiscardTests.cpp61 ShaderDiscardCase (Context& context, const char* name, const char* description, const char* shaderSource, ShaderEvalFunc evalFunc, deUint32 flags);
74 ShaderDiscardCase::ShaderDiscardCase (Context& context, const char* name, const char* description, const char* shaderSource, ShaderEvalFunc evalFunc, deUint32 flags) in ShaderDiscardCase() argument
79 m_fragShaderSource = shaderSource; in ShaderDiscardCase()
/third_party/vk-gl-cts/external/openglcts/modules/glesext/texture_cube_map_array/
H A DesextcTextureCubeMapArrayETC2Support.cpp168 std::string shaderSource(glu::getGLSLVersionDeclaration(glslVersion)); in prepareProgram()
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()

Completed in 33 milliseconds

12345