Closed Tisten closed 10 years ago
This fragment program: sampler2D Texture0 : register(s0) : register(t0); void main(out float4 Color : COLOR0) { Color = tex2D( Texture0, float2(0.5f, 0.5f) ).rrrr; }
fails with error C7011: implicit cast from "vec4" to "vec2"
This fragment program: sampler2D Texture0 : register(s0) : register(t0); void main(out float4 Color : COLOR0) { Color = tex2D( Texture0, float2(0.5f, 0.5f) ).rrrr; }
fails with error C7011: implicit cast from "vec4" to "vec2"