Question : How to send a big list of constant to vertex shader ? (and process it)

Hello, I would like to send several matrix to a vertex shadr this way:
1:
2:
3:
	for(int i=0;i<nmat;i++)
		g_pd3dDevice->SetVertexShaderConstantF(i*4, mats[i], 4);


But in the shader I generaly get constant like that:
1:
2:
3:
4:
Connect main(Vertex vertex, 
	uniform row_major float4x4 mat0: register(C0),
	uniform row_major float4x4 mat1: register(C1)){


But as the number of matrix won't be the same each time, and as I'll had many matrices, can I get a list of matrix to acces it with a simple mat[0] ?

Thanks

Answer : How to send a big list of constant to vertex shader ? (and process it)

The problem is that the text is inside a <p> which is inside the <a>. So the font-family style for the <p> is being used instead of that of the <a>. <p>s are not allowed inside <a> elements.

The W3C Markup Validator is great for finding problems like this: http://validator.w3.org/

P.S. Is there a particular reason why you are using an MS Office app to generate part of your page?
Random Solutions  
 
programming4us programming4us