sorry, your right, that was a mistake. you don't have to match the vertex shaders input exactly with the input layout.
you just have to match the input layout with your vertex structure so that the input assembler knows what its getting. more specifically you have to match the input layout with the structure of vertices in the buffer you will give to the input assembler, since this buffers vertices might differ from the vertex structure you use in your applications code
Show differencesHistory of post edits
#4iedoc
Posted 15 November 2012 - 11:09 AM
sorry, your right, that was a mistake. you don't have to match the vertex shaders input exactly with the input layout.
you just have to match the input layout with your vertex structure so that the input assembler knows what its getting. more specifically you have to match the input layout with the structure of vertices in the buffer you will give to the input assembler, since this buffers vertices might differ from the vertex structure you use in your applications code
you just have to match the input layout with your vertex structure so that the input assembler knows what its getting. more specifically you have to match the input layout with the structure of vertices in the buffer you will give to the input assembler, since this buffers vertices might differ from the vertex structure you use in your applications code
#3iedoc
Posted 15 November 2012 - 11:06 AM
sorry, your right, that was a mistake. you don't have to match the vertex shaders input exactly with the input layout.
you just have to match the input layout with your vertex structure so that the input assembler knows what its getting
you just have to match the input layout with your vertex structure so that the input assembler knows what its getting
#2iedoc
Posted 15 November 2012 - 11:05 AM
sorry, your right, that was a mistake. you don't have to match the vertex shaders input exactly with the input layout.
you just have to match the input layout with your vertex structure
you just have to match the input layout with your vertex structure
#1iedoc
Posted 15 November 2012 - 11:05 AM
sorry, your right, that was a mistake. you don't have to match the vertex shaders input exactly with the input layout.
you just have to match the input layout with your vertex structure
you just have to match the input layout with your vertex structure