summary refs log tree commit diff
path: root/misc/xbox360/ps_textured.hlsl
diff options
context:
space:
mode:
Diffstat (limited to 'misc/xbox360/ps_textured.hlsl')
-rw-r--r--misc/xbox360/ps_textured.hlsl10
1 files changed, 10 insertions, 0 deletions
diff --git a/misc/xbox360/ps_textured.hlsl b/misc/xbox360/ps_textured.hlsl
new file mode 100644
index 0000000..e3f0b22
--- /dev/null
+++ b/misc/xbox360/ps_textured.hlsl
@@ -0,0 +1,10 @@
+sampler s;
+
+struct INPUT_VERTEX {
+   float4 col : COLOR0;
+   float2 uv  : TEXCOORD0;
+};
+
+float4 main(INPUT_VERTEX input) : COLOR0 {
+	return tex2D(s, input.uv) * input.col;
+}
\ No newline at end of file