diff options
author | Jason Fielder <jason_apple> | 2022-04-27 14:00:36 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2022-04-27 14:00:51 +0300 |
commit | db622b5a0bea32cb3a78c0a4c7d4372a9178d27e (patch) | |
tree | b00c3b497d694929ef3d342fb0973ee9a27bc3e0 /source/blender/draw/intern | |
parent | cdd4354c81f6f9ae3bc72b7abd5dbcfd74fa548e (diff) |
Metal: GLSL Compatibility - Hosting default uniform values.
There are a number of shaders, most notably grid_frag.glsl, which rely on default assignments to uniform values within shaders. This is not currently supported by the shader uniform push model implemented for the Metal backend, wherein uniform updates are pushed as a singular block of data. Any default assignment would become over-written.
As such, adding assignments of these default values in the high-level, to ensure the correct value is written for all APIs. This likely impacts Vulkan push-constants as well.
Authored by Apple: Michael Parkin-White
Ref T96261
Reviewed By: fclem
Maniphest Tasks: T96261
Differential Revision: https://developer.blender.org/D14555
Diffstat (limited to 'source/blender/draw/intern')
0 files changed, 0 insertions, 0 deletions