Last change
on this file since 4795 was
2852,
checked in by ldelgass, 13 years ago
|
Fix up line endings and formatting in shader code, also add emacs magic line
to get C++ mode highlighting
|
File size:
292 bytes
|
Line | |
---|
1 | /* -*- mode: c++; c-basic-offset: 4; indent-tabs-mode: nil -*- */ |
---|
2 | float4 main(float2 texCoord : TEXCOORD0, |
---|
3 | uniform samplerRECT tex : register(s0), |
---|
4 | uniform float4 scale, |
---|
5 | uniform float4 bias) : COLOR |
---|
6 | { |
---|
7 | return texRECT(tex, texCoord.xy) * scale + bias; |
---|
8 | } |
---|
9 | |
---|
Note: See
TracBrowser
for help on using the repository browser.