summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorTim Foley <tfoley@nvidia.com>2017-08-25 19:21:55 -0700
committerTim Foley <tfoley@nvidia.com>2017-08-25 19:21:55 -0700
commitc077a08652377194f9076fc41b1b3793301b25ae (patch)
tree48f73703ca00c91ab23cd3750ac42ac71feca9a2 /tests
parent7c35d9eb71e3383e2b4b95c1d52eca783f8a0a49 (diff)
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.
Diffstat (limited to 'tests')
-rw-r--r--tests/bugs/gh-171.slang4
1 files changed, 0 insertions, 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);