summaryrefslogtreecommitdiffstats
path: root/src/video_core/shader/control_flow.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-07-19video_core/control_flow: Prevent sign conversion in TryGetBlock()Lioncash1-1/+1
The return value is a u32, not an s32, so this would result in an implicit signedness conversion.
2019-07-19video_core/control_flow: Remove unnecessary BlockStack copy constructorLioncash1-2/+1
This is the default behavior of the copy constructor, so it doesn't need to be specified. While we're at it we can make the other non-default constructor explicit.
2019-07-19video_core/control_flow: Use std::move where applicableLioncash1-10/+15
Results in less work being done where avoidable.
2019-07-19video_core/control_flow: Use the prefix variant of operator++ for iteratorsLioncash1-2/+2
Same thing, but potentially allows a standard library implementation to pick a more efficient codepath.
2019-07-19video_core/control_flow: Use empty() member function for checking emptinessLioncash1-2/+2
It's what it's there for.
2019-07-19video_core: Resolve -Wreorder warningsLioncash1-1/+1
Ensures that the constructor members are always initialized in the order that they're declared in.
2019-07-19video_core/control_flow: Make program_size for ScanFlow() a std::size_tLioncash1-2/+2
Prevents a truncation warning from occurring with MSVC. Also the internal data structures already treat it as a size_t, so this is just a discrepancy in the interface.
2019-07-19video_core/control_flow: Place all internally linked types/functions within an anonymous namespaceLioncash1-1/+2
Previously, quite a few functions were being linked with external linkage.
2019-07-09control_flow: Correct block breaking algorithm.Fernando Sahmkow1-17/+17
2019-07-09control_flow: Assert shaders bigger than limit.Fernando Sahmkow1-0/+2
2019-07-09control_flow: Address feedback.Fernando Sahmkow1-89/+37
2019-07-09shader_ir: Correct parsing of scheduling instructions and correct sizingFernando Sahmkow1-12/+29
2019-07-09shader_ir: Correct max sizingFernando Sahmkow1-1/+1
2019-07-09shader_ir: Remove unnecessary constructors and use optional for ScanFlow resultFernando Sahmkow1-15/+6
2019-07-09shader_ir: Corrections, documenting and asserting control_flowFernando Sahmkow1-43/+37
2019-07-09shader_ir: Unify blocks in decompiled shaders.Fernando Sahmkow1-32/+15
2019-07-09shader_ir: Decompile Flow StackFernando Sahmkow1-11/+156
2019-07-09shader_ir: Implement BRX & BRA.CCFernando Sahmkow1-0/+3
2019-07-09shader_ir: Implement a new shader scannerFernando Sahmkow1-0/+393