so...you have an .hlsl file and you want to make sure your changes trigger a rebuild do not use the pre-build for the solution. instead, click on the .hlsl and use a custom build tool. the final thing you have to do is to tell visual studio to treat the output as content and fill in the content field with your compilation output artifact(s).
Wednesday, May 11, 2022
Monday, April 04, 2022
neat sample, needs minor cleanup to compile on my VS2019 solution. may not be anything wrong with the write environment, etc. just my config:
several #include <iostreams>
disabled 'treat errors as warnings'.
several live objects after sample executes/shuts down, not going to resolve at this time.
Thursday, March 03, 2022
Thursday, November 11, 2021
Wednesday, November 10, 2021
Friday, July 23, 2021
Thursday, May 13, 2021
Capturing for posterity:
TL;DR: C is row major, XMMATRIX* is row major, HLSL is column major.
A comment here explains rationale:
And you can tell HLSL to flip to row major.