Lines Matching defs:target
520 GLenum ImageType(GLenum target);
734 GLenum ShaderImageLoadStoreBase::ImageType<vec4>(GLenum target)
736 switch (target)
752 GLenum ShaderImageLoadStoreBase::ImageType<ivec4>(GLenum target)
754 switch (target)
770 GLenum ShaderImageLoadStoreBase::ImageType<uvec4>(GLenum target)
772 switch (target)
1840 bool Write(int target, GLenum internalformat, const T& write_value, const T& expected_value)
1844 const GLuint program = BuildProgram(src_vs, GenFS(target, internalformat, write_value).c_str());
1920 glBindBuffer(GL_SHADER_STORAGE_BUFFER, m_buffer[target]);
1923 if (target == T2D)
1925 if (target == TCM)
1930 << tcu::TestLog::Message << target << " target, " << FormatEnumToString(internalformat).c_str()
1944 std::string GenFS(int target, GLenum internalformat, const T& write_value)
1947 switch (target)
1968 switch (target)
2084 bool Write(int target, GLenum internalformat, const T& write_value, const T& expected_value)
2086 const GLuint program = CreateComputeProgram(GenCS(target, internalformat, write_value));
2162 glBindBuffer(GL_SHADER_STORAGE_BUFFER, m_buffer[target]);
2165 if (target == T2D)
2167 if (target == TCM)
2172 << tcu::TestLog::Message << target << " target, " << FormatEnumToString(internalformat).c_str()
2186 std::string GenCS(int target, GLenum internalformat, const T& write_value)
2190 switch (target)
2210 switch (target)
2343 bool Read(int target, GLenum internalformat, const T& value, const T& expected_value, GLenum format, GLenum type)
2347 const GLuint program = BuildProgram(src_vs, GenFS(target, internalformat, expected_value).c_str());
2415 glBindBuffer(GL_SHADER_STORAGE_BUFFER, m_buffer[target]);
2418 if (target == T2D)
2420 if (target == TCM)
2425 << tcu::TestLog::Message << target << " target, " << FormatEnumToString(internalformat).c_str()
2438 std::string GenFS(int target, GLenum internalformat, const T& expected_value)
2442 switch (target)
2473 switch (target)
2560 bool Read(int target, GLenum internalformat, const T& value, const T& expected_value, GLenum format, GLenum type)
2562 const GLuint program = CreateComputeProgram(GenCS(target, internalformat, expected_value));
2628 glBindBuffer(GL_SHADER_STORAGE_BUFFER, m_buffer[target]);
2631 if (target == T2D)
2633 if (target == TCM)
2638 << tcu::TestLog::Message << target << " target, " << FormatEnumToString(internalformat).c_str()
2651 std::string GenCS(int target, GLenum internalformat, const T& expected_value)
2655 switch (target)
2685 switch (target)
2837 << "] Atomic operation check failed. (operation/target coded: " << ToString(out_data[i]).c_str()
3187 bool Atomic(int target, int stage, GLenum internalformat)
3193 program = BuildProgram(GenShader<T>(target, stage, internalformat).c_str(), src_fs, true, false);
3197 program = CreateComputeProgram(GenShader<T>(target, stage, internalformat), true);
3266 std::string GenShader(int target, int stage, GLenum internalformat)
3274 switch (target)
3308 switch (target)
5264 if (!Compile( // target type image1D not supported