yes
This commit is contained in:
24
modules/wallpaper-engine/shaders/HLSL/dx11fallback.vert
Normal file
24
modules/wallpaper-engine/shaders/HLSL/dx11fallback.vert
Normal file
@@ -0,0 +1,24 @@
|
||||
|
||||
struct VS_INPUT
|
||||
{
|
||||
float3 a_Position : POSITION;
|
||||
};
|
||||
|
||||
struct VS_OUTPUT
|
||||
{
|
||||
float4 gl_Position : SV_POSITION;
|
||||
};
|
||||
|
||||
cbuffer g_bufDynamic:register(b1)
|
||||
{
|
||||
const float4x4 g_ModelViewProjectionMatrix;
|
||||
}
|
||||
|
||||
VS_OUTPUT main(VS_INPUT IN)
|
||||
{
|
||||
VS_OUTPUT OUT;
|
||||
|
||||
OUT.gl_Position = mul(float4(IN.a_Position, 1.0), g_ModelViewProjectionMatrix);
|
||||
|
||||
return OUT;
|
||||
}
|
||||
Reference in New Issue
Block a user