diff options
author | Niklas Haas <git@haasn.xyz> | 2018-11-10 11:27:03 +0100 |
---|---|---|
committer | Jan Ekström <jeebjp@gmail.com> | 2019-04-21 23:55:22 +0300 |
commit | f0b6860d62bf2c59be589a56750b2a95666a7564 (patch) | |
tree | 6cf9615429d7c5911d02e35cf90e313ba003fbca /video/out/d3d11/ra_d3d11.c | |
parent | 4e9dc60d9e7728cddfc901a8b0b7048eeebed5e6 (diff) | |
download | mpv-f0b6860d62bf2c59be589a56750b2a95666a7564.tar.bz2 mpv-f0b6860d62bf2c59be589a56750b2a95666a7564.tar.xz |
vo_gpu: index desc namespaces by ra
No reason to require them be constant. This allows them to depend on
runtime characteristics of the `ra`.
Diffstat (limited to 'video/out/d3d11/ra_d3d11.c')
-rw-r--r-- | video/out/d3d11/ra_d3d11.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/d3d11/ra_d3d11.c b/video/out/d3d11/ra_d3d11.c index 1d2455853b..98c2d7d418 100644 --- a/video/out/d3d11/ra_d3d11.c +++ b/video/out/d3d11/ra_d3d11.c @@ -1241,7 +1241,7 @@ static void blit(struct ra *ra, struct ra_tex *dst, struct ra_tex *src, } } -static int desc_namespace(enum ra_vartype type) +static int desc_namespace(struct ra *ra, enum ra_vartype type) { // Images and SSBOs both use UAV bindings if (type == RA_VARTYPE_IMG_W) |