|
|
|
|
|
|
|
|
|
|
// TODO: all affine matrices should be 3x4. |
|
|
|
// TODO: sort these vars by the frequency of use (descending), and put commonly used vars together. |
|
|
|
// Note: please use UNITY_MATRIX_X macros instead referencing matrix variables directly. |
|
|
|
// Note: please use UNITY_MATRIX_X macros instead of referencing matrix variables directly. |
|
|
|
CBUFFER_START(UnityPerPass) |
|
|
|
float4x4 _PrevViewProjMatrix; |
|
|
|
float4x4 _ViewProjMatrix; |
|
|
|