aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/shader/decode/float_set.cpp
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2019-01-29 20:33:56 -0300
committerReinUsesLisp <reinuseslisp@airmail.cc>2019-01-29 23:49:02 -0300
commit2a94d3623107d1d82c7d174dd5ce5961d0d68e27 (patch)
tree1a7d46460ca7f43c2f7b38be5829736597ffb1e6 /src/video_core/shader/decode/float_set.cpp
parentce50c06bfcaf802d55cd6920e24cdf152cd0d542 (diff)
gl_shader_cache: Fix texture view for cubemaps as cubemap arrays
Cubemaps are considered layered and to create a texture view the texture mustn't be a layered texture, resulting in cubemaps being bound as cubemap arrays. To fix this issue this commit introduces an extra surface parameter called "is_array" and uses this to query for texture view creation. Now that texture views for cubemaps are actually being created, this also fixes the number of layers created for the texture view (since they have to be 6 to create a texture view of cubemaps).
Diffstat (limited to 'src/video_core/shader/decode/float_set.cpp')
0 files changed, 0 insertions, 0 deletions