]> git.cworth.org Git - apitrace-tests/blob - apps/d3d9/tri_pp.ref.txt
Add a shader d3d9 tri test.
[apitrace-tests] / apps / d3d9 / tri_pp.ref.txt
1 Direct3DCreate9(SDKVersion = 32) = <pD3D>
2 IDirect3D9::GetDeviceCaps(this = <pD3D>, Adapter = D3DADAPTER_DEFAULT, DeviceType = D3DDEVTYPE_HAL, pCaps = &<Caps>) = D3D_OK
3 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
4 IDirect3DDevice9::Clear(this = <pDevice>, Count = 0, pRects = NULL, Flags = D3DCLEAR_TARGET, Color = 0xff4c194c, Z = 1, Stencil = 0) = D3D_OK
5 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
6 IDirect3DDevice9::SetVertexDeclaration(this = <pDevice>, pDecl = <pVertexDeclaration>) = D3D_OK
7 IDirect3DDevice9::CreateVertexShader(this = <pDevice>, pFunction = "//
8 // Generated by Microsoft (R) HLSL Shader Compiler 9.30.960.8229
9     vs_2_0
10     dcl_position v0
11     dcl_color v1
12     mov oPos, v0
13     mov oD0, v1
14
15 // approximately 2 instruction slots used
16 ", ppShader = &<pVertexShader>) = D3D_OK
17 IDirect3DDevice9::SetVertexShader(this = <pDevice>, pShader = <pVertexShader>) = D3D_OK
18 IDirect3DDevice9::CreatePixelShader(this = <pDevice>, pFunction = "//
19 // Generated by Microsoft (R) HLSL Shader Compiler 9.30.960.8229
20     ps_2_0
21     dcl v0
22     mov oC0, v0
23
24 // approximately 1 instruction slot used
25 ", ppShader = &<pPixelShader>) = D3D_OK
26 IDirect3DDevice9::SetPixelShader(this = <pDevice>, pShader = <pPixelShader>) = D3D_OK
27 IDirect3DDevice9::SetRenderState(this = <pDevice>, State = D3DRS_CULLMODE, Value = D3DCULL_NONE) = D3D_OK
28 IDirect3DDevice9::BeginScene(this = <pDevice>) = D3D_OK
29 IDirect3DDevice9::DrawPrimitiveUP(this = <pDevice>, PrimitiveType = D3DPT_TRIANGLELIST, PrimitiveCount = 1, pVertexStreamZeroData = blob(96), VertexStreamZeroStride = 32) = D3D_OK
30 IDirect3DDevice9::EndScene(this = <pDevice>) = D3D_OK
31 IDirect3DDevice9::Present(this = <pDevice>, pSourceRect = NULL, pDestRect = NULL, hDestWindowOverride = NULL, pDirtyRegion = NULL) = D3D_OK
32 IDirect3DPixelShader9::Release(this = <pPixelShader>) = 0
33 IDirect3DVertexShader9::Release(this = <pVertexShader>) = 0
34 IDirect3DVertexDeclaration9::Release(this = <pVertexDeclaration>) = 0
35 IDirect3DDevice9::Release(this = <pDevice>) = 0
36 IDirect3D9::Release(this = <pD3D>) = 0