Skip to content

Commit

Permalink
Change order of fields in the cbuffer. (#5980)
Browse files Browse the repository at this point in the history
Co-authored-by: FrancescoC-Unity <francescoc@unity3d.com>
  • Loading branch information
sebastienlagarde and FrancescoC-unity committed Oct 18, 2021
1 parent 94a9f6f commit 4ae4bc1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ internal unsafe struct ShaderVariablesProbeVolumes
public Vector3 _PoolDim;
public float _ViewBias;

public float _PVSamplingNoise;
public Vector3 _MinCellPosition;
public float _PVSamplingNoise;

public Vector3 _CellIndicesDim;
public float _CellInMeters;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
GLOBAL_CBUFFER_START(ShaderVariablesProbeVolumes, b5)
float3 _PoolDim;
float _ViewBias;
float _PVSamplingNoise;
float3 _MinCellPosition;
float _PVSamplingNoise;
float3 _CellIndicesDim;
float _CellInMeters;
float _CellInMinBricks;
Expand Down

0 comments on commit 4ae4bc1

Please sign in to comment.