mirror of
https://github.com/libretro/Mesen.git
synced 2024-11-27 19:10:21 +00:00
23 lines
854 B
HLSL
23 lines
854 B
HLSL
//--------------------------------------------------------------------------------------
|
|
// File: Tutorial02.fx
|
|
//
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
//--------------------------------------------------------------------------------------
|
|
|
|
//--------------------------------------------------------------------------------------
|
|
// Vertex Shader
|
|
//--------------------------------------------------------------------------------------
|
|
float4 VS( float4 Pos : POSITION ) : SV_POSITION
|
|
{
|
|
return Pos;
|
|
}
|
|
|
|
|
|
//--------------------------------------------------------------------------------------
|
|
// Pixel Shader
|
|
//--------------------------------------------------------------------------------------
|
|
float4 PS( float4 Pos : SV_POSITION ) : SV_Target
|
|
{
|
|
return float4( 1.0f, 1.0f, 0.0f, 1.0f ); // Yellow, with Alpha = 1
|
|
}
|