Browse Source
Merge pull request #4361 from ReinUsesLisp/lane-id
decode/other: Implement S2R.LaneId
pull/15/merge
Rodrigo Locatti
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
2 deletions
-
src/video_core/shader/decode/other.cpp
|
|
|
@ -75,8 +75,7 @@ u32 ShaderIR::DecodeOther(NodeBlock& bb, u32 pc) { |
|
|
|
const Node value = [this, instr] { |
|
|
|
switch (instr.sys20) { |
|
|
|
case SystemVariable::LaneId: |
|
|
|
LOG_WARNING(HW_GPU, "S2R instruction with LaneId is incomplete"); |
|
|
|
return Immediate(0U); |
|
|
|
return Operation(OperationCode::ThreadId); |
|
|
|
case SystemVariable::InvocationId: |
|
|
|
return Operation(OperationCode::InvocationId); |
|
|
|
case SystemVariable::Ydirection: |
|
|
|
|