Original Post
I'm writing OGL programme in its core-profile style. I was using vec3 as vertex buffers (the input attribute of the shader). Now I wanna change to vec4, because I rewrote the cpu-side maths code by sse/sse2.
What I'm wondering is whether using vec4 as vertex buffers really slows down the shader programme? I suspect that data stream of vec4 would occupy more bandwidth of the video memory, doesn't it?
Thanks!!
What I'm wondering is whether using vec4 as vertex buffers really slows down the shader programme? I suspect that data stream of vec4 would occupy more bandwidth of the video memory, doesn't it?
Thanks!!