From 83902ab01a1b3f36a93f368ae06730485774aa74 Mon Sep 17 00:00:00 2001 From: Chris Forbes Date: Mon, 25 May 2015 15:17:14 +1200 Subject: shader_checker: remove stray debug output from typechecker implementation --- layers/shader_checker.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'layers/shader_checker.cpp') diff --git a/layers/shader_checker.cpp b/layers/shader_checker.cpp index aba30ecc..1b00b5d3 100644 --- a/layers/shader_checker.cpp +++ b/layers/shader_checker.cpp @@ -307,14 +307,10 @@ types_match(shader_source const *a, shader_source const *b, unsigned a_type, uns auto b_type_def_it = b->type_def_index.find(b_type); if (a_type_def_it == a->type_def_index.end()) { - printf("ERR: can't find def for type %d in producing shader %p; SPIRV probably invalid.\n", - a_type, a); return false; } if (b_type_def_it == b->type_def_index.end()) { - printf("ERR: can't find def for type %d in consuming shader %p; SPIRV probably invalid.\n", - b_type, b); return false; } @@ -326,7 +322,6 @@ types_match(shader_source const *a, shader_source const *b, unsigned a_type, uns unsigned b_opcode = b_code[0] & 0x0ffffu; if (a_opcode != b_opcode) { - printf(" - FAIL: type def opcodes differ: %d vs %d\n", a_opcode, b_opcode); return false; } -- cgit v1.2.3