summaryrefslogtreecommitdiffstats
path: root/src/video_core/shader/control_flow.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* video_core/control_flow: Prevent sign conversion in TryGetBlock()Lioncash2019-07-191-1/+1
| | | | | The return value is a u32, not an s32, so this would result in an implicit signedness conversion.
* video_core/control_flow: Remove unnecessary BlockStack copy constructorLioncash2019-07-191-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.
* video_core/control_flow: Use std::move where applicableLioncash2019-07-191-10/+15
| | | | Results in less work being done where avoidable.
* video_core/control_flow: Use the prefix variant of operator++ for iteratorsLioncash2019-07-191-2/+2
| | | | | Same thing, but potentially allows a standard library implementation to pick a more efficient codepath.
* video_core/control_flow: Use empty() member function for checking emptinessLioncash2019-07-191-2/+2
| | | | It's what it's there for.
* video_core: Resolve -Wreorder warningsLioncash2019-07-191-1/+1
| | | | | Ensures that the constructor members are always initialized in the order that they're declared in.
* video_core/control_flow: Make program_size for ScanFlow() a std::size_tLioncash2019-07-191-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.
* video_core/control_flow: Place all internally linked types/functions within an anonymous namespaceLioncash2019-07-191-1/+2
| | | | | Previously, quite a few functions were being linked with external linkage.
* control_flow: Correct block breaking algorithm.Fernando Sahmkow2019-07-091-17/+17
|
* control_flow: Assert shaders bigger than limit.Fernando Sahmkow2019-07-091-0/+2
|
* control_flow: Address feedback.Fernando Sahmkow2019-07-091-89/+37
|
* shader_ir: Correct parsing of scheduling instructions and correct sizingFernando Sahmkow2019-07-091-12/+29
|
* shader_ir: Correct max sizingFernando Sahmkow2019-07-091-1/+1
|
* shader_ir: Remove unnecessary constructors and use optional for ScanFlow resultFernando Sahmkow2019-07-091-15/+6
|
* shader_ir: Corrections, documenting and asserting control_flowFernando Sahmkow2019-07-091-43/+37
|
* shader_ir: Unify blocks in decompiled shaders.Fernando Sahmkow2019-07-091-32/+15
|
* shader_ir: Decompile Flow StackFernando Sahmkow2019-07-091-11/+156
|
* shader_ir: Implement BRX & BRA.CCFernando Sahmkow2019-07-091-0/+3
|
* shader_ir: Implement a new shader scannerFernando Sahmkow2019-07-091-0/+393