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
imported-parameters.slang
//TEST_IGNORE_FILE:
// We are declaring the uniform shader parameters
// in this imported file, to ensure that they are
// emitted correctly.
cbuffer Uniforms
{
float4x4 modelViewProjection;
};
float3 transformColor(float3 color)
{
float3 result;
result.x = sin(20.0 * (color.x + color.y));
result.y = saturate(cos(color.z * 30.0));
result.z = sin(color.x * color.y * color.z * 100.0);
result = 0.5 * (result + 1);
return result;
}
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...