RetroArch
Variables
opaque.cg.d3d9.h File Reference
#include "shaders_common.h"
Include dependency graph for opaque.cg.d3d9.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Variables

static const char * stock_cg_d3d9_program
 

Variable Documentation

◆ stock_cg_d3d9_program

const char* stock_cg_d3d9_program
static
Initial value:
= CG(
void main_vertex
(
float4 position : POSITION,
float2 texCoord : TEXCOORD0,
float4 color : COLOR,
uniform float4x4 modelViewProj,
out float4 oPosition : POSITION,
out float2 otexCoord : TEXCOORD0,
out float4 oColor : COLOR
)
{
oPosition = mul(modelViewProj, position);
otexCoord = texCoord;
oColor = color;
}
float4 main_fragment(in float4 color : COLOR, float2 tex : TEXCOORD0, uniform sampler2D s0 : TEXUNIT0) : COLOR
{
return color * tex2D(s0, tex);
}
)
sampler2DBase< glm::vec4 > sampler2D
Definition: sampler.hpp:94
struct passwd out
Definition: missing_libc_functions.c:51
GLuint in
Definition: glext.h:10523
GLuint color
Definition: glext.h:6883
#define CG(src)
Definition: shaders_common.h:9