indexof question

Discussion created by ryta1203 on Dec 10, 2008
Latest reply on Dec 13, 2008 by entity279
indexof returns a float4? For example: indexof(float4 variable here)

Why is this? For example, if I have a float4 stream how can I determine the index of the stream? That's all I want to do. The index of the stream should be one int value, I don't know how to abstract the index from a float4 type.

Any ideas how I would do this?

EDIT: As a side note, I'm glad that the overall performance has increased in 1.3 for Brook+; however, I'm sad that AMD had to also significantly increase the complexity of programming for Brook+ as the tradeoff. The documentation STILL needs a TON of work, it's just all around bad and too limited at the moment. I thought this was suppose to be improved in this release but I guess not. Most of it is just the same old documentation with a "few" (very few) new additions to it.

ps. I couldn't get the "-a" to work without errors.