]> git.cworth.org Git - apitrace-tests/blobdiff - apps/d3d9/tri_pp.ref.txt
Add a shader d3d9 tri test.
[apitrace-tests] / apps / d3d9 / tri_pp.ref.txt
diff --git a/apps/d3d9/tri_pp.ref.txt b/apps/d3d9/tri_pp.ref.txt
new file mode 100644 (file)
index 0000000..ca32328
--- /dev/null
@@ -0,0 +1,36 @@
+Direct3DCreate9(SDKVersion = 32) = <pD3D>
+IDirect3D9::GetDeviceCaps(this = <pD3D>, Adapter = D3DADAPTER_DEFAULT, DeviceType = D3DDEVTYPE_HAL, pCaps = &<Caps>) = D3D_OK
+IDirect3D9::CreateDevice(this = <pD3D>, Adapter = D3DADAPTER_DEFAULT, DeviceType = D3DDEVTYPE_HAL, hFocusWindow = <hWnd>, BehaviorFlags = D3DCREATE_HARDWARE_VERTEXPROCESSING, pPresentationParameters = &{BackBufferWidth = 250, BackBufferHeight = 250, BackBufferFormat = D3DFMT_X8R8G8B8, BackBufferCount = 1, MultiSampleType = D3DMULTISAMPLE_NONE, MultiSampleQuality = 0, SwapEffect = D3DSWAPEFFECT_FLIP, hDeviceWindow = <hWnd>, Windowed = TRUE, EnableAutoDepthStencil = FALSE, AutoDepthStencilFormat = D3DFMT_UNKNOWN, Flags = 0, FullScreen_RefreshRateInHz = 0, PresentationInterval = D3DPRESENT_INTERVAL_IMMEDIATE}, ppReturnedDeviceInterface = &<pDevice>) = D3D_OK
+IDirect3DDevice9::Clear(this = <pDevice>, Count = 0, pRects = NULL, Flags = D3DCLEAR_TARGET, Color = 0xff4c194c, Z = 1, Stencil = 0) = D3D_OK
+IDirect3DDevice9::CreateVertexDeclaration(this = <pDevice>, pVertexElements = {{Stream = 0, Offset = 0, Type = D3DDECLTYPE_FLOAT4, Method = D3DDECLMETHOD_DEFAULT, Usage = D3DDECLUSAGE_POSITION, UsageIndex = 0}, {Stream = 0, Offset = 16, Type = D3DDECLTYPE_FLOAT4, Method = D3DDECLMETHOD_DEFAULT, Usage = D3DDECLUSAGE_COLOR, UsageIndex = 0}, {Stream = 255, Offset = 0, Type = D3DDECLTYPE_UNUSED, Method = D3DDECLMETHOD_DEFAULT, Usage = D3DDECLUSAGE_POSITION, UsageIndex = 0}}, ppDecl = &<pVertexDeclaration>) = D3D_OK
+IDirect3DDevice9::SetVertexDeclaration(this = <pDevice>, pDecl = <pVertexDeclaration>) = D3D_OK
+IDirect3DDevice9::CreateVertexShader(this = <pDevice>, pFunction = "//
+// Generated by Microsoft (R) HLSL Shader Compiler 9.30.960.8229
+    vs_2_0
+    dcl_position v0
+    dcl_color v1
+    mov oPos, v0
+    mov oD0, v1
+
+// approximately 2 instruction slots used
+", ppShader = &<pVertexShader>) = D3D_OK
+IDirect3DDevice9::SetVertexShader(this = <pDevice>, pShader = <pVertexShader>) = D3D_OK
+IDirect3DDevice9::CreatePixelShader(this = <pDevice>, pFunction = "//
+// Generated by Microsoft (R) HLSL Shader Compiler 9.30.960.8229
+    ps_2_0
+    dcl v0
+    mov oC0, v0
+
+// approximately 1 instruction slot used
+", ppShader = &<pPixelShader>) = D3D_OK
+IDirect3DDevice9::SetPixelShader(this = <pDevice>, pShader = <pPixelShader>) = D3D_OK
+IDirect3DDevice9::SetRenderState(this = <pDevice>, State = D3DRS_CULLMODE, Value = D3DCULL_NONE) = D3D_OK
+IDirect3DDevice9::BeginScene(this = <pDevice>) = D3D_OK
+IDirect3DDevice9::DrawPrimitiveUP(this = <pDevice>, PrimitiveType = D3DPT_TRIANGLELIST, PrimitiveCount = 1, pVertexStreamZeroData = blob(96), VertexStreamZeroStride = 32) = D3D_OK
+IDirect3DDevice9::EndScene(this = <pDevice>) = D3D_OK
+IDirect3DDevice9::Present(this = <pDevice>, pSourceRect = NULL, pDestRect = NULL, hDestWindowOverride = NULL, pDirtyRegion = NULL) = D3D_OK
+IDirect3DPixelShader9::Release(this = <pPixelShader>) = 0
+IDirect3DVertexShader9::Release(this = <pVertexShader>) = 0
+IDirect3DVertexDeclaration9::Release(this = <pVertexDeclaration>) = 0
+IDirect3DDevice9::Release(this = <pDevice>) = 0
+IDirect3D9::Release(this = <pD3D>) = 0