From a67b0beb7f86b1eef31aa0951353bd45a73571c2 Mon Sep 17 00:00:00 2001 From: baldurk Date: Wed, 8 Sep 2021 18:28:23 +0100 Subject: [PATCH] Don't warn on vector instructions - DXIL uses them sometimes --- renderdoc/driver/shaders/dxil/dxil_bytecode.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/renderdoc/driver/shaders/dxil/dxil_bytecode.cpp b/renderdoc/driver/shaders/dxil/dxil_bytecode.cpp index 75f5a94c2..8b7829b97 100644 --- a/renderdoc/driver/shaders/dxil/dxil_bytecode.cpp +++ b/renderdoc/driver/shaders/dxil/dxil_bytecode.cpp @@ -2165,8 +2165,7 @@ Program::Program(const byte *bytes, size_t length) } else if(op.type == FunctionRecord::INST_EXTRACTELT) { - // DXIL claims to be scalarised so should this appear? - RDCWARN("Unexpected vector instruction extractelement in DXIL"); + // DXIL claims to be scalarised but lol that's a lie Instruction inst; @@ -2186,8 +2185,7 @@ Program::Program(const byte *bytes, size_t length) } else if(op.type == FunctionRecord::INST_INSERTELT) { - // DXIL claims to be scalarised so should this appear? - RDCWARN("Unexpected vector instruction insertelement in DXIL"); + // DXIL claims to be scalarised but lol that's a lie Instruction inst;