video_core/shader: Resolve instances of variable shadowing

Silences a few -Wshadow warnings.
This commit is contained in:
Lioncash 2019-10-23 21:26:07 -04:00
parent 273bcde6bc
commit 0a71f5d6f4
6 changed files with 12 additions and 11 deletions

View file

@ -23,7 +23,7 @@ u32 ShaderIR::DecodeVideo(NodeBlock& bb, u32 pc) {
const Node op_a =
GetVideoOperand(GetRegister(instr.gpr8), instr.video.is_byte_chunk_a, instr.video.signed_a,
instr.video.type_a, instr.video.byte_height_a);
const Node op_b = [&]() {
const Node op_b = [this, instr] {
if (instr.video.use_register_b) {
return GetVideoOperand(GetRegister(instr.gpr20), instr.video.is_byte_chunk_b,
instr.video.signed_b, instr.video.type_b,