Revision b915ae662b2e4bcaaeb6da62eb964356d0a978b4 authored by jsmall-nvidia on 05 May 2022, 19:53:29 UTC, committed by GitHub on 05 May 2022, 19:53:29 UTC
* #include an absolute path didn't work - because paths were taken to always be relative. * Add support for HLSL `export`. * Test for using `export` keyword.
1 parent 3088d90
register-bindings.slang.expected
result code = -1
standard error = {
tests/diagnostics/register-bindings.slang(7): error 39007: unknown register class: 'DOESNT_EXIST'
Texture2D a : register(DOESNT_EXIST);
^~~~~~~~~~~~
tests/diagnostics/register-bindings.slang(10): error 39008: expected a register index after 't'
TextureCube b : register(t);
^
tests/diagnostics/register-bindings.slang(13): error 39009: expected 'space', got 's'
SamplerState c : register(s0, s1);
^~
tests/diagnostics/register-bindings.slang(16): error 39010: expected a register space index after 'space'
SamplerState d : register(s2, space);
^~~~~
tests/diagnostics/register-bindings.slang(19): error 39011: explicit register component masks are not yet supported in Slang
Texture2D e : register(t3.x);
^
}
standard output = {
}
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...