<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
On 13.10.2010 05:50, Corbin Simpson wrote:
<blockquote
cite="mid:AANLkTik8R=eDuvLJ8DFcTu0v6QJzwJmdOa=tEOU3Vxai@mail.gmail.com"
type="cite">
<p>Yes, that particular part of the spec is fairly Poulsboriffic.
Does any open hardware have a scissor enable/disable bit?</p>
</blockquote>
Heh, does nv hardware count as "open" in that regard ?<br>
nv50+ do have scissor enable bits, for each of the 16 scissor rects,<br>
but the blob doesn't use them; we do.<br>
<br>
<blockquote
cite="mid:AANLkTik8R=eDuvLJ8DFcTu0v6QJzwJmdOa=tEOU3Vxai@mail.gmail.com"
type="cite">
<p>Sending from a mobile, pardon the brevity. ~ C.</p>
<p>On Oct 12, 2010 8:47 PM, "Dave Airlie" <<a
moz-do-not-send="true" href="mailto:airlied@gmail.com">airlied@gmail.com</a>>
wrote:<br type="attribution">
> On Wed, Oct 13, 2010 at 1:07 PM, Dave Airlie <<a
moz-do-not-send="true" href="mailto:airlied@gmail.com">airlied@gmail.com</a>>
wrote:<br>
>> On Wed, Oct 13, 2010 at 12:07 PM, Dave Airlie <<a
moz-do-not-send="true" href="mailto:airlied@gmail.com">airlied@gmail.com</a>>
wrote:<br>
>>> I've noticed that none of the blitters use scissor
state, and wondered<br>
>>> if there was a reason for this.<br>
>>><br>
>>> It looks like drivers are expected to setup scissor
state in the<br>
>>> framebuffer setup and in the set scissor state, but
with r600g due to<br>
>>> the underlying state tracking it can end up doing
the wrong thing.<br>
>>><br>
>>> The 3 patches add CSO cache + u_blit + u_blitter
scissor usage.<br>
>>><br>
>>> Just wondering if I'm violating some rules of the
gallium interface or not.<br>
>><br>
>> I realised this was a quite deep hole I started digging
in mesa/st,<br>
>> any advice on whether cleaning it up is a good idea?<br>
>><br>
> <br>
> Okay so it helps to read the docs, since it the scissor
state enable<br>
> relies on a bit in the rasterizer state.<br>
> <br>
> So it looks like we should always set scissor regs in the
framebuffer<br>
> state and only modify them if we notice<br>
> the rasterizer bit is enabled.<br>
> <br>
> Dave.<br>
> _______________________________________________<br>
> mesa-dev mailing list<br>
> <a moz-do-not-send="true"
href="mailto:mesa-dev@lists.freedesktop.org">mesa-dev@lists.freedesktop.org</a><br>
> <a moz-do-not-send="true"
href="http://lists.freedesktop.org/mailman/listinfo/mesa-dev">http://lists.freedesktop.org/mailman/listinfo/mesa-dev</a><br>
</p>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
mesa-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mesa-dev@lists.freedesktop.org">mesa-dev@lists.freedesktop.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freedesktop.org/mailman/listinfo/mesa-dev">http://lists.freedesktop.org/mailman/listinfo/mesa-dev</a>
</pre>
</blockquote>
<br>
</body>
</html>