Revision 39fb45484996f9d71b6551239dbf55eaaaf8db1f authored by Theresa Foley on 17 May 2022, 17:56:36 UTC, committed by GitHub on 17 May 2022, 17:56:36 UTC
Checking in more in-progress proposals in the hopes of sparking discussion and/or guiding future implementation work.
1 parent 5a3aa61
Raw File
overlapping-bindings.slang
// overlapping-bindings.slang

//DIAGNOSTIC_TEST:SIMPLE:-target hlsl

// Two parameters with the same `register:

Texture2D a : register(t0);

Texture2D b : register(t0);

// Parameters marked to ignore overlap:

[allow("overlapping-bindings")]
Texture2D c : register(t1);

[allow("overlapping-bindings")]
Texture2D d : register(t1);
back to top