]> git.cworth.org Git - apitrace-tests/blob - apps/d3d10/tri.ref.txt
Update examples to use DXGI.
[apitrace-tests] / apps / d3d10 / tri.ref.txt
1 CreateDXGIFactory(riid = {Data1 = 2071029484, Data2 = 8647, Data3 = 17582, Data4 = {178, 26, 201, 174, 50, 26, 227, 105}}, ppFactory = &<pFactory>) = S_OK
2 IDXGIFactory::EnumAdapters(this = <pFactory>, Adapter = 0, ppAdapter = &<pAdapter>) = S_OK
3 D3D10CreateDevice(pAdapter = <pAdapter>, DriverType = D3D10_DRIVER_TYPE_HARDWARE, Software = NULL, Flags = <>, SDKVersion = 29, ppDevice = &<pDevice>) = S_OK
4 IDXGIFactory::CreateSwapChain(this = <pFactory>, pDevice = <pDevice>, pDesc = &{BufferDesc = {Width = 250, Height = 250, RefreshRate = {Numerator = 60, Denominator = 1}, Format = DXGI_FORMAT_R8G8B8A8_UNORM, ScanlineOrdering = DXGI_MODE_SCANLINE_ORDER_UNSPECIFIED, Scaling = DXGI_MODE_SCALING_UNSPECIFIED}, SampleDesc = {Count = 1, Quality = 0}, BufferUsage = DXGI_USAGE_RENDER_TARGET_OUTPUT, BufferCount = 2, OutputWindow = <hWnd>, Windowed = TRUE, SwapEffect = DXGI_SWAP_EFFECT_DISCARD, Flags = 0x0}, ppSwapChain = &<pSwapChain>) = S_OK
5 IDXGISwapChain::GetBuffer(this = <pSwapChain>, Buffer = 0, riid = {Data1 = 2608745476, Data2 = 13356, Data3 = 16646, Data4 = {161, 159, 79, 39, 4, 246, 137, 240}}, ppSurface = &<pSurface>) = S_OK
6 ID3D10Device::CreateRenderTargetView(this = <pDevice>, pResource = <pSurface>, pDesc = &{Format = DXGI_FORMAT_R8G8B8A8_UNORM, ViewDimension = D3D10_RTV_DIMENSION_TEXTURE2D, Texture2D = {MipSlice = 0}}, ppRTView = &<pRenderTargetView>) = S_OK
7 ID3D10Texture2D::Release(this = <pSurface>) = 0
8 ID3D10Device::OMSetRenderTargets(this = <pDevice>, NumViews = 1, ppRenderTargetViews = &<pRenderTargetView>, pDepthStencilView = NULL)
9 ID3D10Device::ClearRenderTargetView(this = <pDevice>, pRenderTargetView = <pRenderTargetView>, ColorRGBA = {0.3, 0.1, 0.3, 1})
10 ID3D10Device::CreateVertexShader(this = <pDevice>, pShaderBytecode = "//
11 // Generated by Microsoft (R) D3D Shader Disassembler
12 //
13 //
14 // Input signature:
15 //
16 // Name                 Index   Mask Register SysValue  Format   Used
17 // -------------------- ----- ------ -------- -------- ------- ------
18 // POSITION                 0   xyzw        0     NONE   float   xyzw
19 // COLOR                    0   xyzw        1     NONE   float   xyzw
20 //
21 //
22 // Output signature:
23 //
24 // Name                 Index   Mask Register SysValue  Format   Used
25 // -------------------- ----- ------ -------- -------- ------- ------
26 // SV_POSITION              0   xyzw        0      POS   float   xyzw
27 // COLOR                    0   xyzw        1     NONE   float   xyzw
28 //
29 vs_4_0
30 dcl_input v0.xyzw
31 dcl_input v1.xyzw
32 dcl_output_siv o0.xyzw, position
33 dcl_output o1.xyzw
34 mov o0.xyzw, v0.xyzw
35 mov o1.xyzw, v1.xyzw
36 ret 
37 // Approximately 0 instruction slots used
38 ", BytecodeLength = 320, ppVertexShader = &<pVertexShader>) = S_OK
39 ID3D10Device::CreateInputLayout(this = <pDevice>, pInputElementDescs = {{SemanticName = "POSITION", SemanticIndex = 0, Format = DXGI_FORMAT_R32G32B32A32_FLOAT, InputSlot = 0, AlignedByteOffset = 0, InputSlotClass = D3D10_INPUT_PER_VERTEX_DATA, InstanceDataStepRate = 0}, {SemanticName = "COLOR", SemanticIndex = 0, Format = DXGI_FORMAT_R32G32B32A32_FLOAT, InputSlot = 0, AlignedByteOffset = 16, InputSlotClass = D3D10_INPUT_PER_VERTEX_DATA, InstanceDataStepRate = 0}}, NumElements = 2, pShaderBytecodeWithInputSignature = "//
40 // Generated by Microsoft (R) D3D Shader Disassembler
41 //
42 //
43 // Input signature:
44 //
45 // Name                 Index   Mask Register SysValue  Format   Used
46 // -------------------- ----- ------ -------- -------- ------- ------
47 // POSITION                 0   xyzw        0     NONE   float   xyzw
48 // COLOR                    0   xyzw        1     NONE   float   xyzw
49 //
50 //
51 // Output signature:
52 //
53 // Name                 Index   Mask Register SysValue  Format   Used
54 // -------------------- ----- ------ -------- -------- ------- ------
55 // SV_POSITION              0   xyzw        0      POS   float   xyzw
56 // COLOR                    0   xyzw        1     NONE   float   xyzw
57 //
58 vs_4_0
59 dcl_input v0.xyzw
60 dcl_input v1.xyzw
61 dcl_output_siv o0.xyzw, position
62 dcl_output o1.xyzw
63 mov o0.xyzw, v0.xyzw
64 mov o1.xyzw, v1.xyzw
65 ret 
66 // Approximately 0 instruction slots used
67 ", BytecodeLength = 320, ppInputLayout = &<pInputLayout>) = S_OK
68 ID3D10Device::IASetInputLayout(this = <pDevice>, pInputLayout = <pInputLayout>)
69 ID3D10Device::CreatePixelShader(this = <pDevice>, pShaderBytecode = "//
70 // Generated by Microsoft (R) D3D Shader Disassembler
71 //
72 //
73 // Input signature:
74 //
75 // Name                 Index   Mask Register SysValue  Format   Used
76 // -------------------- ----- ------ -------- -------- ------- ------
77 // SV_POSITION              0   xyzw        0      POS   float       
78 // COLOR                    0   xyzw        1     NONE   float   xyzw
79 //
80 //
81 // Output signature:
82 //
83 // Name                 Index   Mask Register SysValue  Format   Used
84 // -------------------- ----- ------ -------- -------- ------- ------
85 // SV_Target                0   xyzw        0   TARGET   float   xyzw
86 //
87 ps_4_0
88 dcl_input_ps linear v1.xyzw
89 dcl_output o0.xyzw
90 mov o0.xyzw, v1.xyzw
91 ret 
92 // Approximately 0 instruction slots used
93 ", BytecodeLength = 244, ppPixelShader = &<pPixelShader>) = S_OK
94 ID3D10Device::VSSetShader(this = <pDevice>, pVertexShader = <pVertexShader>)
95 ID3D10Device::PSSetShader(this = <pDevice>, pPixelShader = <pPixelShader>)
96 ID3D10Device::CreateBuffer(this = <pDevice>, pDesc = &{ByteWidth = 96, Usage = D3D10_USAGE_DYNAMIC, BindFlags = D3D10_BIND_VERTEX_BUFFER, CPUAccessFlags = D3D10_CPU_ACCESS_WRITE, MiscFlags = 0x0}, pInitialData = NULL, ppBuffer = &<pVertexBuffer>) = S_OK
97 ID3D10Buffer::Map(this = <pVertexBuffer>, MapType = D3D10_MAP_WRITE_DISCARD, MapFlags = 0x0, ppData = &<pMap>) = S_OK
98 memcpy(dest = <pMap>, src = blob(96), n = 96)
99 ID3D10Buffer::Unmap(this = <pVertexBuffer>)
100 ID3D10Device::IASetVertexBuffers(this = <pDevice>, StartSlot = 0, NumBuffers = 1, ppVertexBuffers = &<pVertexBuffer>, pStrides = &32, pOffsets = &0)
101 ID3D10Device::RSSetViewports(this = <pDevice>, NumViewports = 1, pViewports = &{TopLeftX = 0, TopLeftY = 0, Width = 250, Height = 250, MinDepth = 0, MaxDepth = 1})
102 ID3D10Device::CreateRasterizerState(this = <pDevice>, pRasterizerDesc = &{FillMode = D3D10_FILL_SOLID, CullMode = D3D10_CULL_NONE, FrontCounterClockwise = TRUE, DepthBias = 0, DepthBiasClamp = 0, SlopeScaledDepthBias = 0, DepthClipEnable = TRUE, ScissorEnable = FALSE, MultisampleEnable = FALSE, AntialiasedLineEnable = FALSE}, ppRasterizerState = &<pRasterizerState>) = S_OK
103 ID3D10Device::RSSetState(this = <pDevice>, pRasterizerState = <pRasterizerState>)
104 ID3D10Device::IASetPrimitiveTopology(this = <pDevice>, Topology = D3D10_PRIMITIVE_TOPOLOGY_TRIANGLESTRIP)
105 ID3D10Device::Draw(this = <pDevice>, VertexCount = 3, StartVertexLocation = 0)
106 IDXGISwapChain::Present(this = <pSwapChain>, SyncInterval = 0, Flags = 0x0) = S_OK
107 ID3D10Device::IASetVertexBuffers(this = <pDevice>, StartSlot = 0, NumBuffers = 1, ppVertexBuffers = &NULL, pStrides = &0, pOffsets = &0)
108 ID3D10Buffer::Release(this = <pVertexBuffer>) = 0
109 ID3D10Device::OMSetRenderTargets(this = <pDevice>, NumViews = 0, ppRenderTargetViews = NULL, pDepthStencilView = NULL)
110 ID3D10RenderTargetView::Release(this = <pRenderTargetView>) = 0
111 ID3D10Device::IASetInputLayout(this = <pDevice>, pInputLayout = NULL)
112 ID3D10InputLayout::Release(this = <pInputLayout>) = 0
113 ID3D10Device::VSSetShader(this = <pDevice>, pVertexShader = NULL)
114 ID3D10VertexShader::Release(this = <pVertexShader>) = 0
115 ID3D10Device::PSSetShader(this = <pDevice>, pPixelShader = NULL)
116 ID3D10PixelShader::Release(this = <pPixelShader>) = 0
117 ID3D10Device::RSSetState(this = <pDevice>, pRasterizerState = NULL)
118 ID3D10RasterizerState::Release(this = <pRasterizerState>) = 0
119 IDXGISwapChain::Release(this = <pSwapChain>) = 0
120 ID3D10Device::Release(this = <pDevice>) = 0