mirror of
https://github.com/elwrcl/intel-hard-graphics.git
synced 2026-10-31 02:48:03 +03:00
Nine Mesa 25.2'de silindi. Bu commit onu 26.2 agacina geri getiriyor:
src/gallium/frontends/nine, src/gallium/targets/d3dadapter9, D3D9 ve
d3dadapter basliklari, meson entegrasyonu ve driconf secenekleri.
Silinmesinden sonra gallium'da degisen ve uyum gerektiren yerler:
- mesa_shader_stage, enum pipe_shader_type'in yerini aldi
- pipe_surface de-pointerize edildi, create_surface kalkti
- u_upload_data/alloc artik referans vermiyor; _ref varyantlarina gecildi
- threaded_context kullanici sabit tamponlarini yuklemiyor (MR 36715),
tc_set_constant_buffer'da assert(!cb->user_buffer) var. SWVP ve
fixed-function yollari icin nine_upload_constant_buffer() eklendi.
- driParseConfigFiles struct API'sine gecti
Ayrica D3D9'un ugradigi ama GL frontend'inin hic gecmedigi uc yolda
surucu hatasi cikti; ucu de burada:
crocus_query.c PIPE_QUERY_GPU_FINISHED ele alinmiyordu
crocus_clear.c clear_render_target gelen pipe_surface'i crocus_surface'e
cast edip ->view okuyordu; Nine kendi surface'ini
uretiyor, format crocus_format_for_usage ile yeniden
turetiliyor
tgsi_to_nir.c TXD'de ddx/ddy bilesen sayisi kirpilmiyordu
Gercek donanimda dogrulandi (8086:0166, crocus, wine 11.0 +
wine-nine-standalone): Max Payne 2, The Witcher EE, Fallout New Vegas,
Warband, L4D1, PAYDAY: The Heist calisiyor.
Co-Authored-By: Claude Opus 5 <[email protected]>
30 lines
1.1 KiB
C
30 lines
1.1 KiB
C
/*
|
|
* Copyright 2011 Joakim Sindholt <[email protected]>
|
|
* SPDX-License-Identifier: MIT
|
|
*/
|
|
|
|
#include "nineexoverlayextension.h"
|
|
|
|
#define DBG_CHANNEL DBG_OVERLAYEXTENSION
|
|
|
|
HRESULT NINE_WINAPI
|
|
Nine9ExOverlayExtension_CheckDeviceOverlayType( struct Nine9ExOverlayExtension *This,
|
|
UINT Adapter,
|
|
D3DDEVTYPE DevType,
|
|
UINT OverlayWidth,
|
|
UINT OverlayHeight,
|
|
D3DFORMAT OverlayFormat,
|
|
D3DDISPLAYMODEEX *pDisplayMode,
|
|
D3DDISPLAYROTATION DisplayRotation,
|
|
D3DOVERLAYCAPS *pOverlayCaps )
|
|
{
|
|
STUB(D3DERR_INVALIDCALL);
|
|
}
|
|
|
|
IDirect3D9ExOverlayExtensionVtbl Nine9ExOverlayExtension_vtable = {
|
|
(void *)NineUnknown_QueryInterface,
|
|
(void *)NineUnknown_AddRef,
|
|
(void *)NineUnknown_Release,
|
|
(void *)Nine9ExOverlayExtension_CheckDeviceOverlayType
|
|
};
|