mirror of
https://github.com/KhronosGroup/glslang
synced 2024-11-09 12:00:05 +00:00
17 lines
370 B
GLSL
17 lines
370 B
GLSL
|
|
||
|
Texture2D MyTexture : register(t0);
|
||
|
|
||
|
//----------------------------------------------------------------------------------------
|
||
|
void TexFunc(in const Texture2D t2D, out float3 RGB)
|
||
|
{
|
||
|
RGB = 0;
|
||
|
}
|
||
|
|
||
|
//-----------------------------------------------------------------------------------
|
||
|
void main()
|
||
|
{
|
||
|
float3 final_RGB;
|
||
|
|
||
|
TexFunc(MyTexture, final_RGB);
|
||
|
}
|