Fix issue #332: Immediate, watches and vector watch is not able to extract columns from matrix using mat[<column>]-operator #333
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Extract single columns by using glsl-matrix-array-operator is not working in general. Shader is executed in right way but debugging matrices doesn't work under all circumstances.
Read out the whole matrix (using tooltip, watches or immediate) is working perfectly and without problems.
This PR addresses a part of issue #332 - the vector part is solved with the commit dfranx/SPIRV-VM@1f653d0 ...
Example
Using for example
modelViewX[0]
in immediate, watches or vector watch is not working and results invec4(0.0,0.0,0.0,0.0)
Changes
This PR solves the usage of matrix-array-operator. Furthermore this PR adds vcpkg.json to SHADERed to add support for vcpkg in manifest mode. This greatly enhances building SHADERed by your own.