Files
SDL3_fork/test/testgpu/cube.vert.hlsl
Colin Sames f4255e15bb
Some checks failed
Build (All) / Create test plan (push) Has been cancelled
Build (All) / level1 (push) Has been cancelled
Build (All) / level2 (push) Has been cancelled
add SDL3 repository to game engine
2026-04-03 16:14:58 +02:00

16 lines
299 B
HLSL

#include "cube.hlsli"
cbuffer UBO : register(b0, space1)
{
float4x4 ModelViewProj;
};
VSOutput main(VSInput input)
{
VSOutput output;
output.Color = float4(input.Color, 1.0f);
output.Position = mul(ModelViewProj, float4(input.Position, 1.0f));
return output;
}