Added HLSL shaders for mesh shading sample

This commit is contained in:
Sascha Willems 2023-06-08 16:50:12 +02:00
parent 8a686e0380
commit 18012268ed
6 changed files with 84 additions and 0 deletions

View file

@ -0,0 +1,15 @@
/* Copyright (c) 2023, Sascha Willems
*
* SPDX-License-Identifier: MIT
*
*/
struct VSOutput
{
[[vk::location(0)]] float4 color : COLOR0;
};
float4 main(VSOutput input) : SV_TARGET
{
return float4(input.color);
}