Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Graphics refactoring + add names and descriptions in FIFO analyzer #9497

Merged
merged 17 commits into from Mar 7, 2021

Commits on Mar 6, 2021

  1. Create EnumFormatter

    Pokechu22 committed Mar 6, 2021
    Copy the full SHA
    6653bd7 View commit details
    Browse the repository at this point in the history
  2. Allow specifying StorageType for BitField

    This is useful for BitFields that are bools.
    Pokechu22 committed Mar 6, 2021
    Copy the full SHA
    cf95dea View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    1273c5e View commit details
    Browse the repository at this point in the history

Commits on Mar 7, 2021

  1. Create BitFieldArray

    Pokechu22 committed Mar 7, 2021
    Copy the full SHA
    f697e17 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    d702f3b View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    c27efb3 View commit details
    Browse the repository at this point in the history
  4. Convert CPMemory to BitField and enum class

    Additionally, VCacheEnhance has been added to UVAT_group1.  According to YAGCD, this field is always 1.
    
    TVtxDesc also now has separate low and high fields whose hex values correspond with the proper registers, instead of having one 33-bit value.  This change was made in a way that should be backwards-compatible.
    Pokechu22 committed Mar 7, 2021
    Copy the full SHA
    f749fcf View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    953e094 View commit details
    Browse the repository at this point in the history
  6. Convert XFMemory to BitField and enum class

    Additionally a new ClipDisable union has been added (though it is not currently used by Dolphin).
    Pokechu22 committed Mar 7, 2021
    Copy the full SHA
    aab81d5 View commit details
    Browse the repository at this point in the history
  7. Copy the full SHA
    2d6ec74 View commit details
    Browse the repository at this point in the history
  8. Copy the full SHA
    8c80369 View commit details
    Browse the repository at this point in the history
  9. Copy the full SHA
    81b84a5 View commit details
    Browse the repository at this point in the history
  10. Copy the full SHA
    762fe33 View commit details
    Browse the repository at this point in the history
  11. Copy the full SHA
    f2bea67 View commit details
    Browse the repository at this point in the history
  12. Add FogParam0::FloatValue and FogParam3::FloatValue

    This value will be used in the register description; so expose it in a way that can be re-used instead of calculating it in 2 places later.
    Pokechu22 committed Mar 7, 2021
    Copy the full SHA
    db8ced7 View commit details
    Browse the repository at this point in the history
  13. Convert BPMemory to BitField and enum class

    Additional changes:
    - For TevStageCombiner's ColorCombiner and AlphaCombiner, op/comparison and scale/compare_mode have been split as there are different meanings and enums if bias is set to compare.  (Shift has also been renamed to scale)
    - In TexMode0, min_filter has been split into min_mip and min_filter.
    - In TexImage1, image_type is now cache_manually_managed.
    - The unused bit in GenMode is now exposed.
    - LPSize's lineaspect is now named adjust_for_aspect_ratio.
    Pokechu22 committed Mar 7, 2021
    Copy the full SHA
    70f9fc4 View commit details
    Browse the repository at this point in the history
  14. Use formatters in GetBPRegInfo; add missing commands

    BPMEM_TEV_COLOR_ENV + 6 (0xC6) was missing due to a typo.  BPMEM_BP_MASK (0xFE) does not lend itself well to documentation with the current FIFO analyzer implementation (since it requires remembering the values in BP memory) but still shouldn't be treated as unknown.  BPMEM_TX_SETMODE0_4 and BPMEM_TX_SETMODE1_4 (0xA4-0xAB) were missing entirely.
    Pokechu22 committed Mar 7, 2021
    Copy the full SHA
    df81210 View commit details
    Browse the repository at this point in the history