mirror of
https://github.com/elwrcl/intel-hard-graphics.git
synced 2026-10-31 10:58:03 +03:00
nine: Gallium Nine'i Mesa 26.x'e forward-port et
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]>
This commit is contained in:
109 files changed
+43221
-9
No files matched your search
+23
@@ -795,6 +795,26 @@ if d3d_drivers_path == ''
|
||||
d3d_drivers_path = join_paths(get_option('prefix'), get_option('libdir'), 'd3d')
|
||||
endif
|
||||
|
||||
with_gallium_st_nine = get_option('gallium-nine')
|
||||
if with_gallium_st_nine
|
||||
if not with_gallium_swrast
|
||||
error('The nine state tracker requires gallium softpipe/llvmpipe.')
|
||||
elif not [
|
||||
with_gallium_crocus,
|
||||
with_gallium_freedreno,
|
||||
with_gallium_i915,
|
||||
with_gallium_iris,
|
||||
with_gallium_nouveau,
|
||||
with_gallium_panfrost,
|
||||
with_gallium_r300,
|
||||
with_gallium_r600,
|
||||
with_gallium_radeonsi,
|
||||
with_gallium_svga,
|
||||
with_gallium_zink,
|
||||
].contains(true)
|
||||
error('The nine state tracker requires at least one non-swrast gallium driver.')
|
||||
endif
|
||||
endif
|
||||
with_gallium_st_d3d10umd = get_option('gallium-d3d10umd')
|
||||
if with_gallium_st_d3d10umd
|
||||
if not with_gallium_swrast
|
||||
@@ -2600,6 +2620,9 @@ if with_gallium
|
||||
if with_gallium_mediafoundation
|
||||
gallium_frontends += 'mediafoundation'
|
||||
endif
|
||||
if with_gallium_st_nine
|
||||
gallium_frontends += 'nine'
|
||||
endif
|
||||
if with_gallium_rusticl
|
||||
gallium_frontends += 'rusticl'
|
||||
endif
|
||||
|
||||
Reference in new issue
Block a user