mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-03-06 20:58:37 +01:00
[tests] Add D3D9 fetch4 state tests
This commit is contained in:
parent
cf1ff99b10
commit
5d69898cbd
1 changed files with 7 additions and 0 deletions
|
@ -178,6 +178,13 @@ public:
|
|||
|
||||
m_device->AddRef();
|
||||
|
||||
DWORD bias = 0xDEADBEEF;
|
||||
status = m_device->GetSamplerState(0, D3DSAMP_MIPMAPLODBIAS, &bias);
|
||||
status = m_device->SetSamplerState(0, D3DSAMP_MIPMAPLODBIAS, MAKEFOURCC('G', 'E', 'T', '4'));
|
||||
status = m_device->GetSamplerState(0, D3DSAMP_MIPMAPLODBIAS, &bias);
|
||||
status = m_device->SetSamplerState(0, D3DSAMP_MIPMAPLODBIAS, MAKEFOURCC('G', 'E', 'T', '1'));
|
||||
status = m_device->GetSamplerState(0, D3DSAMP_MIPMAPLODBIAS, &bias);
|
||||
|
||||
// Vertex Shader
|
||||
{
|
||||
Com<ID3DBlob> blob;
|
||||
|
|
Loading…
Add table
Reference in a new issue