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
parameter-block.slang
//TEST:REFLECTION:-stage fragment -target glsl
//TEST:REFLECTION:-stage fragment -target hlsl -profile sm_5_0
//TEST:REFLECTION:-stage fragment -target hlsl -profile sm_5_1
// Confirm that we do parameter binding correctly
// when we have both a parameter block *and* user-defined
// resource parameters that both need automatic
// binding allocation.
struct Helper
{
Texture2D t;
SamplerState s;
};
ParameterBlock<Helper> a;
Texture2D b;
float4 main() : SV_target
{ return 0.0; }
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...