Home | History | Annotate | Download | only in functional

Lines Matching refs:IVec4

51 using tcu::IVec4;
58 BlitRectCase (Context& context, const char* name, const char* desc, deUint32 filter, const IVec2& srcSize, const IVec4& srcRect, const IVec2& dstSize, const IVec4& dstRect, int cellSize = 8)
156 const IVec4 m_srcRect;
158 const IVec4 m_dstRect;
167 BlitNearestFilterConsistencyCase (Context& context, const char* name, const char* desc, const IVec2& srcSize, const IVec4& srcRect, const IVec2& dstSize, const IVec4& dstRect);
172 BlitNearestFilterConsistencyCase::BlitNearestFilterConsistencyCase (Context& context, const char* name, const char* desc, const IVec2& srcSize, const IVec4& srcRect, const IVec2& dstSize, const IVec4& dstRect)
190 const tcu::IVec4 destinationArea = tcu::IVec4(de::clamp(de::min(m_dstRect.x(), m_dstRect.z()), 0, result.getWidth()),
459 BlitDepthStencilCase (Context& context, const char* name, const char* desc, deUint32 format, deUint32 srcBuffers, const IVec2& srcSize, const IVec4& srcRect, deUint32 dstBuffers, const IVec2& dstSize, const IVec4& dstRect, deUint32 copyBuffers)
602 IVec4 m_srcRect;
605 IVec4 m_dstRect;
741 m_srcRect = IVec4( 10, 20, 65, 100);
742 m_dstRect = IVec4( 25, 30, 125, 94);
743 m_interestingArea = IVec4(0, 0, 128, 128);
749 m_srcRect = IVec4(-10, -15, 100, 63);
750 m_dstRect = ubound.swizzle(0, 1, 0, 1) + IVec4(-75, -99, 8, 16);
751 m_interestingArea = IVec4(ubound.x() - 128, ubound.y() - 128, ubound.x(), ubound.y());
833 glClearBufferiv(GL_COLOR, 0, IVec4(0, 0, 0, 0).getPtr());
857 tcu::IVec4 m_srcRect;
858 tcu::IVec4 m_dstRect;
859 tcu::IVec4 m_interestingArea;
936 IVec4 srcRect;
937 IVec4 dstRect;
940 { "basic", IVec4( 10, 20, 65, 100), IVec4( 45, 5, 100, 85) },
941 { "scale", IVec4( 10, 20, 65, 100), IVec4( 25, 30, 125, 94) },
942 { "out_of_bounds", IVec4(-10, -15, 100, 63), IVec4( 50, 30, 136, 144) },
948 IVec4 srcRect;
949 IVec4 dstRect;
952 { "mag", IVec4( 20, 10, 74, 88), IVec4( 10, 10, 91, 101) },
953 { "min", IVec4( 10, 20, 78, 100), IVec4( 20, 20, 71, 80) },
954 { "out_of_bounds_mag", IVec4( 21, 10, 73, 82), IVec4( 11, 43, 141, 151) },
955 { "out_of_bounds_min", IVec4( 11, 21, 77, 97), IVec4( 80, 82, 135, 139) },
961 IVec4 srcSwizzle;
962 IVec4 dstSwizzle;
965 { DE_NULL, IVec4(0,1,2,3), IVec4(0,1,2,3) },
966 { "reverse_src_x", IVec4(2,1,0,3), IVec4(0,1,2,3) },
967 { "reverse_src_y", IVec4(0,3,2,1), IVec4(0,1,2,3) },
968 { "reverse_dst_x", IVec4(0,1,2,3), IVec4(2,1,0,3) },
969 { "reverse_dst_y", IVec4(0,1,2,3), IVec4(0,3,2,1) },
970 { "reverse_src_dst_x", IVec4(2,1,0,3), IVec4(2,1,0,3) },
971 { "reverse_src_dst_y", IVec4(0,3,2,1), IVec4(0,3,2,1) }
985 IVec4 srcSwz = swizzles[swzNdx].srcSwizzle;
986 IVec4 dstSwz = swizzles[swzNdx].dstSwizzle;
987 IVec4 srcRect = copyRects[rectNdx].srcRect.swizzle(srcSwz[0], srcSwz[1], srcSwz[2], srcSwz[3]);
988 IVec4 dstRect = copyRects[rectNdx].dstRect.swizzle(dstSwz[0], dstSwz[1], dstSwz[2], dstSwz[3]);
1001 IVec4 srcSwz = swizzles[swzNdx].srcSwizzle;
1002 IVec4 dstSwz = swizzles[swzNdx].dstSwizzle;
1003 IVec4 srcRect = filterConsistencyRects[rectNdx].srcRect.swizzle(srcSwz[0], srcSwz[1], srcSwz[2], srcSwz[3]);
1004 IVec4 dstRect = filterConsistencyRects[rectNdx].dstRect.swizzle(dstSwz[0], dstSwz[1], dstSwz[2], dstSwz[3]);
1054 depthStencilGroup->addChild(new BlitDepthStencilCase(m_context, (fmtName + "_basic").c_str(), "", format, buffers, IVec2(128, 128), IVec4(0, 0, 128, 128), buffers, IVec2(128, 128), IVec4(0, 0, 128, 128), buffers));
1055 depthStencilGroup->addChild(new BlitDepthStencilCase(m_context, (fmtName + "_scale").c_str(), "", format, buffers, IVec2(127, 119), IVec4(10, 30, 100, 70), buffers, IVec2(111, 130), IVec4(20, 5, 80, 130), buffers));
1059 depthStencilGroup->addChild(new BlitDepthStencilCase(m_context, (fmtName + "_depth_only").c_str(), "", format, buffers, IVec2(128, 128), IVec4(0, 0, 128, 128), buffers, IVec2(128, 128), IVec4(0, 0, 128, 128), GL_DEPTH_BUFFER_BIT));
1060 depthStencilGroup->addChild(new BlitDepthStencilCase(m_context, (fmtName + "_stencil_only").c_str(), "", format, buffers, IVec2(128, 128), IVec4(0, 0, 128, 128), buffers, IVec2(128, 128), IVec4(0, 0, 128, 128), GL_STENCIL_BUFFER_BIT));