From a5b8f15a144da216f37b344ea9efe769dca07c32 Mon Sep 17 00:00:00 2001 From: Anthony Date: Sun, 12 Nov 2023 20:04:39 +1300 Subject: [PATCH] reformat todo --- src/core/hle/D3D8/Direct3D9/CxbxVertexShaderPassthrough.hlsl | 4 ++-- src/core/hle/D3D8/XbVertexShader.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/core/hle/D3D8/Direct3D9/CxbxVertexShaderPassthrough.hlsl b/src/core/hle/D3D8/Direct3D9/CxbxVertexShaderPassthrough.hlsl index 47aa482e4..9938662a5 100644 --- a/src/core/hle/D3D8/Direct3D9/CxbxVertexShaderPassthrough.hlsl +++ b/src/core/hle/D3D8/Direct3D9/CxbxVertexShaderPassthrough.hlsl @@ -92,7 +92,7 @@ VS_OUTPUT main(const VS_INPUT xIn) VS_OUTPUT xOut; // Fogging - // TODO deduplicate + // TODO: deduplicate const float fogDepth = abs(oFog.x); const float fogTableMode = CxbxFogInfo.x; const float fogDensity = CxbxFogInfo.y; @@ -121,7 +121,7 @@ VS_OUTPUT main(const VS_INPUT xIn) xOut.oPts = oPts.x; xOut.oB0 = saturate(oB0); xOut.oB1 = saturate(oB1); - // Scale textures (TODO : or should we apply this to the input register values?) + // Scale textures (TODO: or should we apply this to the input register values?) xOut.oT0 = oT0 / xboxTextureScale[0]; xOut.oT1 = oT1 / xboxTextureScale[1]; xOut.oT2 = oT2 / xboxTextureScale[2]; diff --git a/src/core/hle/D3D8/XbVertexShader.cpp b/src/core/hle/D3D8/XbVertexShader.cpp index 9e003ae98..b205edc8f 100644 --- a/src/core/hle/D3D8/XbVertexShader.cpp +++ b/src/core/hle/D3D8/XbVertexShader.cpp @@ -1143,8 +1143,8 @@ IDirect3DVertexShader* InitShader(void (*compileFunc)(ID3DBlob**), const char* l void CxbxUpdateHostVertexShader() { extern bool g_bUsePassthroughHLSL; // TMP glue - // TODO move d3d9 state to VertexShader.cpp - static IDirect3DVertexShader* fixedFunctionShader = nullptr; // TODO move to shader cache + // TODO: move d3d9 state to VertexShader.cpp + static IDirect3DVertexShader* fixedFunctionShader = nullptr; // TODO: move to shader cache static IDirect3DVertexShader* passthroughShader = nullptr; static int vertexShaderVersion = -1;