aboutsummaryrefslogtreecommitdiff
path: root/layers/shader_checker.cpp
diff options
context:
space:
mode:
authorChris Forbes <chrisf@ijw.co.nz>2015-05-25 15:17:14 +1200
committerChris Forbes <chrisf@ijw.co.nz>2015-06-04 10:20:20 +1200
commit83902ab01a1b3f36a93f368ae06730485774aa74 (patch)
tree27561d2d913ed309316ad5c600f5dc4ba2ce67ab /layers/shader_checker.cpp
parent610fc3d7c6c9d48b20fd05550a0491ff5b953b29 (diff)
downloadusermoji-83902ab01a1b3f36a93f368ae06730485774aa74.tar.xz
shader_checker: remove stray debug output from typechecker implementation
Diffstat (limited to 'layers/shader_checker.cpp')
-rw-r--r--layers/shader_checker.cpp5
1 files changed, 0 insertions, 5 deletions
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;
}