Note that this requires updated run.py in shader_db.
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Matt Turner <mattst88@gmail.com>
if (unlikely(INTEL_DEBUG & DEBUG_WM)) {
if (prog) {
- printf("Native code for fragment shader %d (SIMD%d dispatch):\n",
+ printf("Native code for %s fragment shader %d (SIMD%d dispatch):\n",
+ prog->Label ? prog->Label : "unnamed",
prog->Name, dispatch_width);
} else if (fp) {
printf("Native code for fragment program %d (SIMD%d dispatch):\n",
if (unlikely(debug_flag)) {
if (shader_prog) {
- printf("Native code for vertex shader %d:\n", shader_prog->Name);
+ printf("Native code for %s vertex shader %d:\n",
+ shader_prog->Label ? shader_prog->Label : "unnamed",
+ shader_prog->Name);
} else {
printf("Native code for vertex program %d:\n", prog->Id);
}
if (unlikely(INTEL_DEBUG & DEBUG_WM)) {
if (prog) {
- printf("Native code for fragment shader %d (SIMD%d dispatch):\n",
+ printf("Native code for %s fragment shader %d (SIMD%d dispatch):\n",
+ shader_prog->Label ? shader_prog->Label : "unnamed",
shader_prog->Name, dispatch_width);
} else if (fp) {
printf("Native code for fragment program %d (SIMD%d dispatch):\n",
if (unlikely(debug_flag)) {
if (shader_prog) {
- printf("Native code for vertex shader %d:\n", shader_prog->Name);
+ printf("Native code for %s vertex shader %d:\n",
+ shader_prog->Label ? shader_prog->Label : "unnamed",
+ shader_prog->Name);
} else {
printf("Native code for vertex program %d:\n", prog->Id);
}