Blender Git Commit Log

Git Commits -> Revision 1b942ef

Revision 1b942ef by Jeroen Bakker (master)
June 28, 2021, 10:23 (GMT)
GPU: Refactored +cleanup compilation log parsing.

Old implementation has a single parser of many different
formats. With the introduction of Vulkan this would lead
to another parser in the same function. This patch
separates the log parsing using a visitor pattern so the
log parsing can be configured per GPU backend or even
per driver.

With Vulkan we manage the compiler our self so the parsing
will become more straight forward. The OpenGL part depends
on many factors (OS, Driver) and perhaps even GPU.

Commit Details:

Full Hash: 1b942ef90c9b4b7fe98af50357aa76b74754f7ff
Parent Commit: dbd4ff4
Lines Changed: +197, -92

1 Added Path:

/source/blender/gpu/opengl/gl_shader_log.cc (+87, -0) (View)

5 Modified Paths:

/source/blender/gpu/CMakeLists.txt (+1, -0) (Diff)
/source/blender/gpu/intern/gpu_shader_log.cc (+53, -86) (Diff)
/source/blender/gpu/intern/gpu_shader_private.hh (+38, -1) (Diff)
/source/blender/gpu/opengl/gl_shader.cc (+7, -5) (Diff)
/source/blender/gpu/opengl/gl_shader.hh (+11, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021