Where does the StructuredBuffer without register specification go? Hi All, I am sorry for creating this small thread but I couldn't find the answer to where does a shader variable go if no register is mentioned in it's declaration. In DirectXSamples nBodyGravity's shader file there is no mention of register in constant buffers or structuredbuffers, like StructuredBuffer g_buffPosVelo; There is no answer available in msdn. This is so basic people should be putting in msdn docs. https://ift.tt/eA8V8J
Hi All, I am sorry for creating this small thread but I couldn't find the answer to where does a shader variable go if no register is mentioned in it's declaration. In DirectXSamples nBodyGravity's shader file there is no mention of register in constant buffers or structuredbuffers, like StructuredBuffer<PoseVelo> g_buffPosVelo; There is no answer available in msdn. This is so basic people should be putting in msdn docs.
from GameDev.net http://bit.ly/2WIcChe
from GameDev.net http://bit.ly/2WIcChe
ليست هناك تعليقات