James-Jones / HLSLCrossCompiler

Other
468 stars 81 forks source link

Another thing to fix #7

Closed Tisten closed 10 years ago

Tisten commented 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"