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
Raw File
implicit-cast-lvalue.slang
//DIAGNOSTIC_TEST:SIMPLE:

// Passing an argument for an `out` parameter such
// that implicit conversion would be required in
// both directions.

void a(out uint x)
{
	x = 0;
}

void b(int y)
{
	a(y);
}
back to top