i965: Remove brwIsProgramNative
authorIan Romanick <ian.d.romanick@intel.com>
Mon, 20 Oct 2014 22:40:44 +0000 (15:40 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Sat, 25 Oct 2014 02:54:39 +0000 (19:54 -0700)
commit4939c2eced8834a448fea894785ba5bfdf1076fd
treef73cdf1232b6288bd08c17ffdcaef37734794e55
parent66d950464c40ea53b8a5a87241c9ade0116e1f91
i965: Remove brwIsProgramNative

Originally I just fixed some unused parameter warnings in this
function.  However, Ken pointed out:

    "You could instead remove this driver hook.  If the dd pointer is
    NULL, arbprogram.c will return true.  I think I'd prefer that."

Way, way back in time, I think _mesa_GetProgramivARB had the opposite
behavior.  Given that it works the way it now works, I also prefer
removing the driver hook.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_program.c