Revision b513d0deef521318ad943d820dd37029075a33c4 authored by Sai Praveen Bangaru on 12 July 2022, 03:18:06 UTC, committed by GitHub on 12 July 2022, 03:18:06 UTC
* Added support for differentiating calls to basic functions, as well as arithmetic on the float3 type

* Added test expected result
1 parent 9261c7a
Raw File
parameter-block.slang
//TEST:REFLECTION:-stage fragment -target glsl -no-codegen
//TEST:REFLECTION:-stage fragment -target hlsl -no-codegen -profile sm_5_0
//TEST:REFLECTION:-stage fragment -target hlsl -no-codegen -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; }
back to top