mesa: Make MESA_SHADER_CAPTURE_PATH skip shaders with Name == -1.
authorKenneth Graunke <kenneth@whitecape.org>
Mon, 25 Jul 2016 21:49:28 +0000 (14:49 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 26 Jul 2016 20:27:09 +0000 (13:27 -0700)
commit95c48391ee16654ca3038c89dcb50d8ea9861e1f
treeb068ca21c74e1d45d88640dfdf326b3ad9068985
parent20553e4a2d952f6dc37f40f63d2c86b0718c58f9
mesa: Make MESA_SHADER_CAPTURE_PATH skip shaders with Name == -1.

Shaders with shProg->Name == ~0 (aka 4294967295) are internal meta
shaders that we don't really want to capture.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/main/shaderapi.c