diff options
author | Niklas Haas <git@haasn.xyz> | 2017-09-08 04:27:53 +0200 |
---|---|---|
committer | Niklas Haas <git@haasn.xyz> | 2017-09-12 02:57:45 +0200 |
commit | 0c2cb69597f52592bdb58312d9987978cb86a9d3 (patch) | |
tree | 59883f675f41c3302c5b8603f038754993037cd2 /video/out/opengl/ra_gl.c | |
parent | 3faf1fb0a4482712b2177af2f72ef8877f8adc10 (diff) | |
download | mpv-0c2cb69597f52592bdb58312d9987978cb86a9d3.tar.bz2 mpv-0c2cb69597f52592bdb58312d9987978cb86a9d3.tar.xz |
vo_opengl: generalize UBO packing/handling
This is simultaneously generalized into two directions:
1. Support more sc_uniform types (needed for SC_UNIFORM_TYPE_PUSHC)
2. Support more flexible packing (needed for both PUSHC and ra_d3d11)
Diffstat (limited to 'video/out/opengl/ra_gl.c')
-rw-r--r-- | video/out/opengl/ra_gl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/video/out/opengl/ra_gl.c b/video/out/opengl/ra_gl.c index 401847e471..ab5c13242a 100644 --- a/video/out/opengl/ra_gl.c +++ b/video/out/opengl/ra_gl.c @@ -1122,6 +1122,7 @@ static struct ra_fns ra_fns_gl = { .buf_poll = gl_buf_poll, .clear = gl_clear, .blit = gl_blit, + .uniform_layout = std140_layout, .renderpass_create = gl_renderpass_create, .renderpass_destroy = gl_renderpass_destroy, .renderpass_run = gl_renderpass_run, |