Commit 8bec6d39 authored by Alexandre Julliard's avatar Alexandre Julliard

d3dx10/tests: Use nameless unions/structs.

parent 43add349
...@@ -1731,8 +1731,8 @@ float4 main(float4 color : COLOR) : SV_TARGET ...@@ -1731,8 +1731,8 @@ float4 main(float4 color : COLOR) : SV_TARGET
srv_desc.Format = DXGI_FORMAT_R32G32B32A32_FLOAT; srv_desc.Format = DXGI_FORMAT_R32G32B32A32_FLOAT;
srv_desc.ViewDimension = D3D10_SRV_DIMENSION_BUFFER; srv_desc.ViewDimension = D3D10_SRV_DIMENSION_BUFFER;
U(srv_desc).Buffer.ElementOffset = 0; srv_desc.Buffer.ElementOffset = 0;
U(srv_desc).Buffer.ElementWidth = 64; srv_desc.Buffer.ElementWidth = 64;
for (i = 0; i < D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT; ++i) for (i = 0; i < D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT; ++i)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment