[Mesa-dev] [PATCH 2/2] i965: Don't maintain programs for ff state when there is no ff
Ian Romanick
idr at freedesktop.org
Tue Nov 27 11:23:21 PST 2012
On 11/26/2012 11:19 PM, Eric Anholt wrote:
> Ian Romanick <idr at freedesktop.org> writes:
>
>> From: Ian Romanick <ian.d.romanick at intel.com>
>>
>> NOTE: This is a candidate for the 9.0 branch.
>>
>> Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
>
> Has this actually been tested for the undefined-but-not-crash cases?
> I'm guessing not -- we've got lots of assumptions that a pair of actual
> shaders exist in our driver, and I think this change means we'll deref
> NULL pointers.
That's a fair point. These patches have been sitting in the gles3
branch for several months. There was no change in piglit, but that
probably just means we don't have a test case for those situations. Do
you have some suggestions for test cases you think might cause problems?
I can code some up...
More information about the mesa-dev
mailing list