summaryrefslogtreecommitdiffstats
path: root/drivers
Commit message (Collapse)AuthorAgeFilesLines
* Move D3D12 fence SetEventOnCompletion call to fence_wait to avoid stalling ↵clayjohn2024-11-081-1/+1
| | | | on some platforms
* Merge pull request #95074 from RandomShaper/d3d12_exit_crashRémi Verschelde2024-08-081-0/+5
|\ | | | | | | D3D12: Avoid crash on exit
| * D3D12: Avoid crash on exitPedro J. Estébanez2024-08-021-0/+5
| |
* | D3D12: Avoid cases of redundant render target clearsPedro J. Estébanez2024-08-021-0/+1
|/
* Fix regression around OpenGL swapchain optimisation for OpenXRBastiaan Olij2024-07-292-3/+3
|
* Remove linearization of canvas modulate in GLES3 backendclayjohn2024-07-241-9/+4
| | | | The GLES3 renderer is always in sRGB space, even when using an HDR format
* Linearize color if HDR 2D is onFeiyue Zhang2024-07-241-4/+9
|
* Merge pull request #94628 from Chaosus/rendering_fix_crashRémi Verschelde2024-07-231-1/+2
|\ | | | | | | Fix crash when assigning more textures than expected to texture array
| * Fix crash when assigning more textures than expected to texture arrayYuri Rubinsky2024-07-221-1/+2
| |
* | Merge pull request #94564 from rothej/fix-94183Rémi Verschelde2024-07-231-10/+2
|\ \ | | | | | | | | | Fix FOG shader issue in Compatibility mode
| * | Fix FOG shader issue in Compatibility modeJoshua Rothe2024-07-231-10/+2
| |/
* / GLES3: Fix directional shadow on Metal ANGLEcosformula2024-07-231-17/+19
|/
* Merge pull request #93931 from /fix-compatibility-depth_prepass_alphaRémi Verschelde2024-07-201-1/+1
|\
| * fix depth_prepass_alpha not work in compatibility modeGuoShuangyi2024-07-041-1/+1
| |
* | Fix Image CowData crash when baking large lightmapsHugo Locurcio2024-07-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | This switches to 64-bit integers in select locations of the Image class, so that image resolutions of 16384×16384 (used by lightmap texture arrays) can be used properly. Values that are larger should also work. VRAM compression is also supported, although most VRAM-compressed formats are limited to individual slices of 16384×16384. WebP is limited to 16383×16383 due to format limitations.
* | Merge pull request #94233 from ↵Rémi Verschelde2024-07-181-3/+1
|\ \ | | | | | | | | | | | | | | | ChristopheClaustre/screenshot_compat_broken_with_hdr Fix black `get_texture()` on viewport in compatibility mode with HDR enabled
| * | gl_type_cache is used mainly for texture to image conversion need to be ↵ChristopheClaustre2024-07-111-3/+1
| | | | | | | | | | | | adjusted for when HDR format is activated
* | | Merge pull request #86516 from jsjtxietian/fix-camera-directionRémi Verschelde2024-07-181-1/+1
|\ \ \ | | | | | | | | | | | | Fix incorrect `CAMERA_DIRECTION_WORLD` calculation
| * | | Fix incorrect CAMERA_DIRECTION_WORLD calculationjsjtxietian2023-12-261-1/+1
| | | |
* | | | Merge pull request #94267 from RandomShaper/d3d12_dbRémi Verschelde2024-07-172-6/+32
|\ \ \ \ | | | | | | | | | | | | | | | D3D12: Avoid enabling depth bounds test if unsupported
| * | | | D3D12: Avoid enabling depth bounds test if unsupportedPedro J. Estébanez2024-07-152-6/+32
| | | | |
* | | | | Merge pull request #94203 from RandomShaper/bye_bye_dxil_dllRémi Verschelde2024-07-115-72/+258
|\ \ \ \ \ | |_|_|/ / |/| | | | | | | | | D3D12: Get rid of `DXIL.dll`!
| * | | | D3D12: Get rid of DXIL.dll!Pedro J. Estébanez2024-07-115-72/+258
| |/ / /
* | | | Fix a couple GCC 14 `-Wmaybe-uninitialized` warningsRémi Verschelde2024-07-091-1/+1
| | | |
* | | | Use GL_COLOR_ATTACHMENT in depth prepass when using Multiview.clayjohn2024-07-081-1/+3
|/ / / | | | | | | | | | I am certain this is a driver bug. But on some devices when no draw buffer is specified, the depth operations fail when there is no color buffer.
* | | Merge pull request #93331 from dsnopek/macos-fix-use-volkRémi Verschelde2024-07-042-2/+11
|\ \ \ | |_|/ |/| | | | | Fix building with `use_volk=yes` on MacOS
| * | Fix building with `use_volk=yes` on MacOSDavid Snopek2024-06-192-2/+11
| | |
* | | D3D12: Use the right state for resources in certain heap typesPedro J. Estébanez2024-07-011-2/+5
| | |
* | | Remove warning when project setting requests a larger global shader uniform ↵clayjohn2024-06-281-6/+6
| | | | | | | | | | | | | | | | | | buffer than the hardware supports. Instead provide a better error message when the limit is exceeded and avoid crash with a small limit.
* | | Move MIDI parsing up from ALSA driver to platform independent driver.Ibrahn Sahir2024-06-256-249/+132
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Aims for more consistent MIDI support across Windows, MacOS, Linux and to provide a base for adding MIDI drivers for other platforms. Reworks the MIDIDriverALSAMidi MIDI parsing implementation as a platform independent version in MIDIDriver::Parser. Uses MIDIDriver::Parser to provide running status support in MacOS MIDIDriverCoreMidi. Collects connected input names at open, ensuring devices indices reported in events match names in array returned from get_connected_inputs. Fixes #77035. Fixes #79811. With code review changes by: A Thousand Ships (she/her) <96648715+AThousandShips@users.noreply.github.com>
* | | Merge pull request #93560 from dsnopek/webxr-emscripten-3151Rémi Verschelde2024-06-251-0/+22
|\ \ \ | | | | | | | | | | | | [Web] Fix checking for OpenGL extensions with Emscripten 3.1.51 and later
| * | | [Web] Fix checking for OpenGL extensions with Emscripten 3.1.51 and laterDavid Snopek2024-06-241-0/+22
| | | |
* | | | Merge pull request #93530 from BastiaanOlij/fix_opengl_postRémi Verschelde2024-06-253-7/+6
|\ \ \ \ | | | | | | | | | | | | | | | Fix incorrect enabling of post process in OpenGL
| * | | | Fix incorrect enabling of post process in OpenGLBastiaan Olij2024-06-243-7/+6
| |/ / /
* / / / Disable `*glGetProcAddress()` on the webDavid Snopek2024-06-241-1/+1
|/ / /
* | | Merge pull request #93369 from bruvzg/mingw-llvm-warningsRémi Verschelde2024-06-215-12/+58
|\ \ \ | | | | | | | | | | | | [LLVM/MinGW] Fix/suppress DX12 related warnings.
| * | | [LLVM/MinGW] Fix/suppress DX12 related warnings.bruvzg2024-06-195-12/+58
| | | |
* | | | Remove unused flag and codeStuart Carnie2024-06-203-9/+0
|/ / / | | | | | | | | | Related #48894
* | | Fix ubo tag placement in canvas.glsl gles3 fragment shaderYuri Rubinsky2024-06-191-2/+4
| | |
* | | Merge pull request #92851 from patwork/fix-tooltips-viewport-dimsRémi Verschelde2024-06-177-22/+24
|\ \ \ | | | | | | | | | | | | Make query for `GL_MAX_VIEWPORT_DIMS` compatible with web exports
| * | | Make query for GL_MAX_VIEWPORT_DIMS compatible with web exportspatwork2024-06-147-22/+24
| | | |
* | | | Add more validation to UBO size and alignment in Compatibility rendererclayjohn2024-06-144-4/+16
| |/ / |/| |
* | | Merge pull request #93107 from clayjohn/GLES-sky-ambientRémi Verschelde2024-06-141-2/+8
|\ \ \ | | | | | | | | | | | | Ensure sky reflection is updated when ambient mode is set to background
| * | | Ensure sky reflection is updated when ambient mode is set to backgroundclayjohn2024-06-121-2/+8
| | | |
* | | | Merge pull request #92741 from Alex2782/fix_adreno_3xx_compatibilityRémi Verschelde2024-06-145-9/+34
|\ \ \ \ | | | | | | | | | | | | | | | Fix Adreno 3xx compatibility for devices with newer driver versions
| * | | | Fix Adreno 3xx compatibility for devices with newer driver versionsAlexander Hartmann2024-06-115-9/+34
| | | | | | | | | | | | | | | | | | | | | | | | | Co-Authored-By: Hugo Locurcio <hugo.locurcio@hugo.pro> Co-Authored-By: Clay John <claynjohn@gmail.com>
* | | | | Merge pull request #92388 from sunfl0w/fix-compatibility-albedoRémi Verschelde2024-06-141-0/+3
|\ \ \ \ \ | |_|_|/ / |/| | | | | | | | | Fix albedo value wraparound in Compatibility render mode
| * | | | Fix albedo value wraparound in Compatibility render modesunfl0w2024-06-131-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Using the Compatibility renderer results in wrapped albedo values if a custom shader returns albedo values outside the expected range of [0,1]. This commit fixed this issue by clamping the albedo value to [0,1] right after the custom shader is executed. Fixes #91919
* | | | | Merge pull request #92663 from Riteo/holy-egl-batmanRémi Verschelde2024-06-132-22/+69
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | EGL: Use `EGL_EXT_platform_base` whenever possible
| * | | | | EGL: Use EGL_EXT_platform_base whenever possibleRiteo2024-06-042-22/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This avoids any assumption from the driver, which would otherwise select a specific platform and potentially mess up everything, resulting usually in a display server failure.