X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=modules%2Fegl%2FteglRenderCase.cpp;h=a0ff8ae7524a93acde261ebb085de923f689f34e;hb=521bf8a7c396dd577e590150d497f07a0e8b73b9;hp=0e344fa64ce6e3b86e347c7d5bb5e0d2c08203ce;hpb=72dc9389b49a2bcad712abd8509d7e4341d11ed5;p=platform%2Fupstream%2FVK-GL-CTS.git diff --git a/modules/egl/teglRenderCase.cpp b/modules/egl/teglRenderCase.cpp index 0e344fa..a0ff8ae 100644 --- a/modules/egl/teglRenderCase.cpp +++ b/modules/egl/teglRenderCase.cpp @@ -392,6 +392,16 @@ static bool surfaceType (const eglu::CandidateConfig& c) return (c.surfaceType() & Type) == Type; } +static bool isConformant (const eglu::CandidateConfig& c) +{ + return c.get(EGL_CONFIG_CAVEAT) != EGL_NON_CONFORMANT_CONFIG; +} + +static bool notFloat (const eglu::CandidateConfig& c) +{ + return c.colorComponentType() != EGL_COLOR_COMPONENT_TYPE_FLOAT_EXT; +} + void getDefaultRenderFilterLists (vector& filterLists, const eglu::FilterList& baseFilters) { static const struct @@ -428,7 +438,8 @@ void getDefaultRenderFilterLists (vector& filterLists, const e filters << baseFilters << s_colorRules[colorNdx].filter - << s_surfaceRules[surfaceNdx].filter; + << s_surfaceRules[surfaceNdx].filter + << isConformant; filterLists.push_back(filters); } @@ -443,7 +454,9 @@ void getDefaultRenderFilterLists (vector& filterLists, const e << notColorBits<8, 8, 8, 0> << notColorBits<4, 4, 4, 4> << notColorBits<5, 5, 5, 1> - << notColorBits<8, 8, 8, 8>; + << notColorBits<8, 8, 8, 8> + << isConformant + << notFloat; filterLists.push_back(filters); }