vlc | branch: master | Steve Lhomme <[email protected]> | Tue Feb 2 13:47:34 2021 +0100| [d7d495d16d0bce4a205a960e16cd121cb6c64c1d] | committer: Steve Lhomme
d3d_shaders: match the VS_INPUT with our d3d_vertex_t > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d7d495d16d0bce4a205a960e16cd121cb6c64c1d --- modules/video_output/win32/d3d_shaders.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/video_output/win32/d3d_shaders.c b/modules/video_output/win32/d3d_shaders.c index 2a1eb22b3f..e44d714db0 100644 --- a/modules/video_output/win32/d3d_shaders.c +++ b/modules/video_output/win32/d3d_shaders.c @@ -143,7 +143,7 @@ static const char* globPixelShaderDefault = "\ "; static const char* globVertexShaderFlat = "\ -struct VS_INPUT\n\ +struct d3d_vertex_t\n\ {\n\ float3 Position : POSITION;\n\ float2 uv : TEXCOORD;\n\ @@ -155,7 +155,7 @@ struct PS_INPUT\n\ float3 Texture : TEXCOORD;\n\ };\n\ \n\ -PS_INPUT main( VS_INPUT In )\n\ +PS_INPUT main( d3d_vertex_t In )\n\ {\n\ PS_INPUT Output;\n\ Output.Position = float4(In.Position, 1);\n\ @@ -171,7 +171,7 @@ cbuffer VS_PROJECTION_CONST : register(b0)\n\ float4x4 Zoom;\n\ float4x4 Projection;\n\ };\n\ -struct VS_INPUT\n\ +struct d3d_vertex_t\n\ {\n\ float3 Position : POSITION;\n\ float2 uv : TEXCOORD;\n\ @@ -183,7 +183,7 @@ struct PS_INPUT\n\ float3 Texture : TEXCOORD;\n\ };\n\ \n\ -PS_INPUT main( VS_INPUT In )\n\ +PS_INPUT main( d3d_vertex_t In )\n\ {\n\ PS_INPUT Output;\n\ float4 pos = float4(In.Position, 1);\n\ _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
