added barriers, started working on libraries

This commit is contained in:
2025-12-15 20:31:16 +02:00
parent 5d4c587bf2
commit dd1a51b752
20 changed files with 608 additions and 61 deletions

View File

@@ -0,0 +1,23 @@
struct VS_INPUT
{
float3 m_vPosition;
}
struct PS_INPUT
{
float4 m_vPosition;
}
[shader("vertex")]
PS_INPUT vsMain( VS_INPUT i )
{
PS_INPUT o;
o.m_vPosition = { i.m_vPosition, 1 };
return o;
}
[shader("pixel")]
float4 psMain( PS_INPUT i )
{
return float4(1);
}