зеркало из https://github.com/stride3d/xkslang.git
7 строки
160 B
GLSL
7 строки
160 B
GLSL
|
layout(set=2,binding=0) Texture2D tex : register(t16);
|
||
|
SamplerState samp;
|
||
|
|
||
|
float4 main() : SV_Position
|
||
|
{
|
||
|
return tex.Sample(samp, float2(0.2, 0.3));
|
||
|
}
|