Removing more debugging code
This commit is contained in:
@@ -11,6 +11,8 @@ struct ViewParameter
|
||||
float4x4 inverseViewMatrix;
|
||||
float4x4 projectionMatrix;
|
||||
float4x4 inverseProjection;
|
||||
float4x4 viewProjectionMatrix;
|
||||
float4x4 inverseViewProjectionMatrix;
|
||||
float4 cameraPosition_WS;
|
||||
float4 cameraForward_WS;
|
||||
float2 screenDimensions;
|
||||
|
||||
@@ -62,7 +62,7 @@ int ClassifyBisector(in BisectorGeometry tri, uint depth)
|
||||
return FRUSTUM_CULLED;
|
||||
|
||||
// Project the points on screen
|
||||
float4x4 viewProjectionMatrix = mul(pViewParams.projectionMatrix, pViewParams.viewMatrix);
|
||||
float4x4 viewProjectionMatrix = pViewParams.viewProjectionMatrix;
|
||||
float4 p0P = mul(viewProjectionMatrix, float4(tri.p[0], 1.0));
|
||||
p0P.xy = p0P.xy / p0P.w;
|
||||
p0P.xy = (p0P.xy * 0.5 + 0.5);
|
||||
|
||||
Reference in New Issue
Block a user