From c077a08652377194f9076fc41b1b3793301b25ae Mon Sep 17 00:00:00 2001 From: Tim Foley Date: Fri, 25 Aug 2017 19:21:55 -0700 Subject: Fixup for test failure AppVeyor has a different version of fxc installed by default, and it produces subtly different output for this test case. It seems like later versions are clever enough to completely eliminate an empty `cbuffer` declaration, but earlier versions aren't. I'm actually not entirely sure why Slang is successfully eliminating the cbuffer as well, but the output DXBC implies it was not generated. --- tests/bugs/gh-171.slang | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tests/bugs/gh-171.slang b/tests/bugs/gh-171.slang index 6a8d27ff0..b37f77ce2 100644 --- a/tests/bugs/gh-171.slang +++ b/tests/bugs/gh-171.slang @@ -17,10 +17,6 @@ float4 main(float2 uv: UV) : SV_Target #else -cbuffer C : register(b0) -{ -}; - Texture2D SLANG_parameterBlock_C_t : register(t0); SamplerState SLANG_parameterBlock_C_s : register(s0); -- cgit v1.2.3