Re: [Mesa-dev] [PATCH v4] gallium: add API for setting window rectangles

2016-06-17 Thread Ilia Mirkin
On Fri, Jun 17, 2016 at 12:02 PM, Nicolai Hähnle wrote: > FYI, in case you haven't heard: the corresponding hardware feature on Radeon > allows four rectangles, and specifying an arbitrary logic function over > them. That is, there are 2^4 = 16 bits specifying when fragments are > discarded. > > I

Re: [Mesa-dev] [PATCH v4] gallium: add API for setting window rectangles

2016-06-17 Thread Nicolai Hähnle
FYI, in case you haven't heard: the corresponding hardware feature on Radeon allows four rectangles, and specifying an arbitrary logic function over them. That is, there are 2^4 = 16 bits specifying when fragments are discarded. If we wanted to expose that at some point, we'd have to uglify th

Re: [Mesa-dev] [PATCH v4] gallium: add API for setting window rectangles

2016-06-16 Thread Brian Paul
On 06/15/2016 06:24 PM, Ilia Mirkin wrote: Window rectangles apply to all framebuffer operations, either in inclusive or exclusive mode. They may also be specified as part of a blit operation. In exclusive mode, any fragment inside any of the specified rectangles will be discarded. In inclusive

[Mesa-dev] [PATCH v4] gallium: add API for setting window rectangles

2016-06-15 Thread Ilia Mirkin
Window rectangles apply to all framebuffer operations, either in inclusive or exclusive mode. They may also be specified as part of a blit operation. In exclusive mode, any fragment inside any of the specified rectangles will be discarded. In inclusive mode, any fragment outside every rectangle w