Lines Matching defs:target
507 GLenum ImageType(GLenum target);
705 GLenum ShaderImageLoadStoreBase::ImageType<vec4>(GLenum target)
707 switch (target)
723 GLenum ShaderImageLoadStoreBase::ImageType<ivec4>(GLenum target)
725 switch (target)
741 GLenum ShaderImageLoadStoreBase::ImageType<uvec4>(GLenum target)
743 switch (target)
1804 bool Write(int target, GLenum internalformat, const T& write_value, const T& expected_value)
1808 const GLuint program = BuildProgram(src_vs, GenFS(target, internalformat, write_value).c_str());
1884 glBindBuffer(GL_SHADER_STORAGE_BUFFER, m_buffer[target]);
1887 if (target == T2D)
1889 if (target == TCM)
1894 << tcu::TestLog::Message << target << " target, " << FormatEnumToString(internalformat)
1908 std::string GenFS(int target, GLenum internalformat, const T& write_value)
1911 switch (target)
1931 switch (target)
2045 bool Write(int target, GLenum internalformat, const T& write_value, const T& expected_value)
2047 const GLuint program = CreateComputeProgram(GenCS(target, internalformat, write_value));
2123 glBindBuffer(GL_SHADER_STORAGE_BUFFER, m_buffer[target]);
2126 if (target == T2D)
2128 if (target == TCM)
2133 << tcu::TestLog::Message << target << " target, " << FormatEnumToString(internalformat)
2147 std::string GenCS(int target, GLenum internalformat, const T& write_value)
2151 switch (target)
2172 switch (target)
2305 bool Read(int target, GLenum internalformat, const T& value, const T& expected_value, GLenum format, GLenum type)
2309 const GLuint program = BuildProgram(src_vs, GenFS(target, internalformat, expected_value).c_str());
2377 glBindBuffer(GL_SHADER_STORAGE_BUFFER, m_buffer[target]);
2380 if (target == T2D)
2382 if (target == TCM)
2387 << tcu::TestLog::Message << target << " target, " << FormatEnumToString(internalformat)
2400 std::string GenFS(int target, GLenum internalformat, const T& expected_value)
2404 switch (target)
2435 switch (target)
2522 bool Read(int target, GLenum internalformat, const T& value, const T& expected_value, GLenum format, GLenum type)
2524 const GLuint program = CreateComputeProgram(GenCS(target, internalformat, expected_value));
2590 glBindBuffer(GL_SHADER_STORAGE_BUFFER, m_buffer[target]);
2593 if (target == T2D)
2595 if (target == TCM)
2600 << tcu::TestLog::Message << target << " target, " << FormatEnumToString(internalformat)
2613 std::string GenCS(int target, GLenum internalformat, const T& expected_value)
2617 switch (target)
2648 switch (target)
2802 << "] Atomic operation check failed. (operation/target coded: " << ToString(out_data[i]) << ")"
3151 bool Atomic(int target, int stage, GLenum internalformat)
3157 program = BuildProgram(GenShader<T>(target, stage, internalformat).c_str(), src_fs, true, false);
3161 program = CreateComputeProgram(GenShader<T>(target, stage, internalformat), true);
3230 std::string GenShader(int target, int stage, GLenum internalformat)
3238 switch (target)
3271 switch (target)
5238 if (!Compile( // target type image1D not supported