[Mesa-dev] [Bug 39891] New: D3D1X can't be compiled: cannot convert ‘pipe_resource*’ to ‘const pipe_resolve_info*’ in argument passing

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Aug 6 21:59:13 PDT 2011


https://bugs.freedesktop.org/show_bug.cgi?id=39891

           Summary: D3D1X can't be compiled: cannot convert
                    ‘pipe_resource*’ to ‘const pipe_resolve_info*’ in
                    argument passing
           Product: Mesa
           Version: git
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: critical
          Priority: medium
         Component: Other
        AssignedTo: mesa-dev at lists.freedesktop.org
        ReportedBy: alexandre.f.demers at gmail.com


When compiling with d3d1x, I receive the following error:
In file included from d3d11.cpp:220:0:
d3d11_context.h: In member function ‘HRESULT
GalliumD3D11DeviceContext<PtrTraits>::Map(ID3D11Resource*, unsigned int,
D3D11_MAP, unsigned int, D3D11_MAPPED_SUBRESOURCE*) [with PtrTraits =
nonatomic_device_child_ptr_traits, HRESULT = int, ID3D11Resource =
ID3D11Resource, D3D11_MAP = D3D11_MAP, D3D11_MAPPED_SUBRESOURCE =
D3D11_MAPPED_SUBRESOURCE]’:
d3d11.cpp:231:1:   instantiated from here
d3d11_context.h:1461:12: warning: unused variable ‘face’
d3d11_context.h: In member function ‘void
GalliumD3D11DeviceContext<PtrTraits>::CopySubresourceRegion(ID3D11Resource*,
unsigned int, unsigned int, unsigned int, unsigned int, ID3D11Resource*,
unsigned int, const D3D11_BOX*) [with PtrTraits =
nonatomic_device_child_ptr_traits, ID3D11Resource = ID3D11Resource, D3D11_BOX =
D3D11_BOX]’:
d3d11.cpp:231:1:   instantiated from here
d3d11_context.h:1522:12: warning: unused variable ‘dst_face’
d3d11_context.h:1524:12: warning: unused variable ‘src_face’
d3d11_context.h: In member function ‘void
GalliumD3D11DeviceContext<PtrTraits>::ResolveSubresource(ID3D11Resource*,
unsigned int, ID3D11Resource*, unsigned int, DXGI_FORMAT) [with PtrTraits =
nonatomic_device_child_ptr_traits, ID3D11Resource = ID3D11Resource, DXGI_FORMAT
= DXGI_FORMAT]’:
d3d11.cpp:231:1:   instantiated from here
d3d11_context.h:1731:3: error: cannot convert ‘pipe_resource*’ to ‘const
pipe_resolve_info*’ in argument passing
make[5]: *** [d3d11.o] Error 1



If needed, I could bisect. It popped out about 2 days ago and I'm compiling
mostly daily.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the mesa-dev mailing list