Skip to content

Commit 88db05b

Browse files
committed
d3d9 fix ups
1 parent 318d099 commit 88db05b

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

src/d3d9/d3d9_device.cpp

+1-5
Original file line numberDiff line numberDiff line change
@@ -4678,7 +4678,7 @@ namespace dxvk {
46784678
pResource->GPUReadingRange().Conjoin(pResource->DirtyRange());
46794679
pResource->DirtyRange().Clear();
46804680

4681-
return D3D_OK;
4681+
return D3D_OK;
46824682
}
46834683

46844684

@@ -5054,11 +5054,7 @@ namespace dxvk {
50545054
template <DxsoProgramType ShaderStage>
50555055
void D3D9DeviceEx::UploadConstants() {
50565056
if constexpr (ShaderStage == DxsoProgramTypes::VertexShader) {
5057-
<<<<<<< HEAD
5058-
if (CanSWVP())
5059-
=======
50605057
if (CanSWVP())
5061-
>>>>>>> a70a35406e5ba7649e3db533435a7d664b0bb904
50625058
return UploadSoftwareConstantSet(m_state.vsConsts, m_vsLayout);
50635059
else
50645060
return UploadConstantSet<ShaderStage, D3D9ShaderConstantsVSHardware>(m_state.vsConsts, m_vsLayout, m_state.vertexShader);

src/d3d9/d3d9_device.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -489,7 +489,7 @@ namespace dxvk {
489489
HRESULT STDMETHODCALLTYPE GetIndices(IDirect3DIndexBuffer9** ppIndexData);
490490

491491
HRESULT STDMETHODCALLTYPE CreatePixelShader(
492-
const DWORD* pFunction,
492+
const DWORD* pFunction,
493493
IDirect3DPixelShader9** ppShader);
494494

495495
HRESULT STDMETHODCALLTYPE SetPixelShader(IDirect3DPixelShader9* pShader);
@@ -666,7 +666,7 @@ namespace dxvk {
666666

667667
/**
668668
* \brief Locks a subresource of an image
669-
*
669+
*
670670
* \param [in] Subresource The subresource of the image to lock
671671
* \param [out] pLockedBox The returned locked box of the image, containing data ptr and strides
672672
* \param [in] pBox The region of the subresource to lock. This offsets the returned data ptr
@@ -689,7 +689,7 @@ namespace dxvk {
689689

690690
/**
691691
* \brief Unlocks a subresource of an image
692-
*
692+
*
693693
* Passthrough to device unlock.
694694
* \param [in] Subresource The subresource of the image to unlock
695695
* \returns \c D3D_OK if the parameters are valid or D3DERR_INVALIDCALL if it fails.

0 commit comments

Comments
 (0)