i965: Compile brw_cs_fill_local_id_payload() as C.
authorMatt Turner <mattst88@gmail.com>
Mon, 23 Nov 2015 06:11:53 +0000 (22:11 -0800)
committerMatt Turner <mattst88@gmail.com>
Tue, 24 Nov 2015 18:05:33 +0000 (10:05 -0800)
commit6ba700c3c38f216987ebb9b8a1ce80ac784f2d5a
treea36fa8e814328e1035547a327cd8d3630a70b603
parent6b525d9f2babfaf97bb002c06c810874bf152a8c
i965: Compile brw_cs_fill_local_id_payload() as C.

It's only called from C, it compiles as C, so just compile it as C.

Notice the missing extern "C" on the definition of the function, which
would screw things up if the prototype wasn't parsed before the
definition.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/drivers/dri/i965/brw_cs.c
src/mesa/drivers/dri/i965/brw_fs.cpp