/* attempt to deal with prototype, bootstrap, jquery conflicts */ /* for dropdown menus */

Jump to content

Image of the Day

What's the best way to move your heavy stuff? Using a power loader! #spacr #screenshotsaturday 💪🤖💪 https://t.co/sOjz2XNVeq
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net's newsletters to receive the latest updates and exclusive content.


Sign up now

SetFloatVectorArray question

4: Adsense

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.


  • You cannot reply to this topic
No replies to this topic

#1 lomateron   Members   

491
Like
0Likes
Like

Posted 22 April 2013 - 12:57 PM

When using SetFloatVectorArray() how many arrays can be set maximum to get maximum performance

 

a matrix will have 16 floats but how many i could achieve with SetFloatVectorArray()

(I know the number of floats is a multiple of 3...I dont really know...is it?)

 

another question: Can I inside a pixel shader method access the vector array like this:

float3 vectorArray[12];


//inside pixel shader
//......
uint4 t=Tex2D.Load(uint3(0,0,0));
float a= vectorArray[ t.x][ t.y ];
//.....

 






Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.