Code Monkey home page Code Monkey logo

citra's People

Contributors

archshift avatar b3n30 avatar bunnei avatar chinhodado avatar freiro avatar j-selby avatar jamepeng avatar jayfoxrox avatar jbeich avatar jfmherokiller avatar jroweboy avatar kloen avatar lectem avatar linkmauve avatar lioncash avatar littlewhite-tb avatar mailwl avatar mattvail avatar merrymage avatar neobrain avatar polaris- avatar purpasmart96 avatar shinyquagsire23 avatar shizzy1 avatar smspillaz avatar subv avatar tfarley avatar wwylele avatar yuriks avatar zawata avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

killzxgaming

citra's Issues

Combiner Shader gen is not generating readable code

specular_sum.rgb += (((1.000000 * texture(lut[0], ((FLOAT_255 * ((clamp(dot(normal, normalize(normalize(view) + light_vector)), -1.0, 1.0) < 0) ? clamp(dot(normal, normalize(normalize(view) + light_vector)), -1.0, 1.0) + 2.0 : clamp(dot(normal, normalize(normalize(view) + light_vector)), -1.0, 1.0)) / 2.0)))[0]) * light_src[1].specular_0) + ((1.000000 * texture(lut[0], ((FLOAT_255 * ((clamp(dot(normal, normalize(view)), -1.0, 1.0) < 0) ? clamp(dot(normal, normalize(view)), -1.0, 1.0) + 2.0 : clamp(dot(normal, normalize(view)), -1.0, 1.0)) / 2.0)))[1]) * refl_value * light_src[1].specular_1)) * 1.0 * 1.0;

Yeah.. no.. thanks

Zelda: ALBW Lighting

Can be fixed by GL_CLAMP_TO_EDGE on LUT entries. why tho?

Maybe wraparound near 0.0? (Shader lookup is restricted to [0.0, 255.0/256.0])


See discord conversation with Migue

Debugger: Pica combiner debugger

There should be a debugger for the Pica combiner which will work similar to the shader debugger.
It should be possible to see triangles (either highlighting it in the main window or another view) and to get formulas for every pixel processed including intermediate results.

This would probably be more useful if the Resume button in the pica viewer could step forward a given number of breakpoints and / or select a specific triangle in this debugger

Geometry Shader branch causes Assertion Failure!

Angry Birds: Trilogy

Basically the game will crash upon booting.

HW.GPU <Critical> video_core\shader\shader_jit_x64.cpp:Pica::Shader::JitShader::Compile_NextInstr:803: Unhandled instruction: 0x23 (0x8d86c00f)
HW.GPU <Critical> video_core\shader\shader_jit_x64.cpp:Pica::Shader::JitShader::Compile_NextInstr:803: Unhandled instruction: 0x23 (0x8dffc36c)
HW.GPU <Critical> video_core\shader\shader_jit_x64.cpp:Pica::Shader::JitShader::Compile_NextInstr:803: Unhandled instruction: 0x20 (0x8000036e)
Debug <Critical> video_core\shader\shader_jit_x64.cpp:Pica::Shader::JitShader::Compile_NextInstr::<lambda_8b3a2e9a55548d22ec356b62350b6fb1>::operator ():789: Assertion Failed!
Tried to compile already compiled shader location!

Although the game will run if Shader JIT is turned off.

This game boots in the latest master without the aforementioned issue.
Therefore, this is a regression.

Review 1700

I have the feeling this will be merged soon and GUI was always a trouble-maker in the past.
I should run it locally and test how it behaves / influences debugging etc.

Fog: Super Mario 3D Land - Graphical issues in World 6-5

Super Mario 3D Land looks glitched (aside from the broken effects from imm-mode2) in S6-5 and probably the other levels in sw-rasterizer. Pillars are visible through platform.

Without fix-batching (hw on top and sw below)
With fix-batching (hw on top and sw below)
Without fog in sw-rasterizer.

The first save file is right on S6-5. Rename to 00053F00 if using European version.
00054000.zip


Note to self: Can be fixed by disabling fog on logic ops..

Batching

I've talked to yuriks about this via IRC sometime in late april or early may.
This is important for mario kart, mario world and probably more.

I had a PR for this but it was pretty bad. Probably better to use vertex cache clear or something to do remaining draw calls?!

Review 1689 and 1695 afterwards

Subv said it's not that important. I still should do it, especially as he'll work on some todos which might introduce new bugs.

Rotation in skycom

See fix-rotation branch or PR 1813

skycom code has a ton of rotations/shifts past width of type.

Setup appveyor

Looks like MSVC is not happy with my style.

Warnings and errors = should be using appveyor for this repo.

Rejected PR #1634

Link to PR citra-emu#1634

This was rejected because review took to long (due to Fix12P4 being incomplete), so I decided to abandon it.
I think it was actually complete and working for some time.

TODO:

  • Rebase
  • Possibly make it slimmer

Fog: Luigi's Mansion Dark Moon - Crash when trying to boot

Luigi's Mansion Dark Moon crashes when trying to boot.

[ 280.076043] Debug <Critical> video_core\command_processor.cpp:Pica::CommandProcessor::WritePicaReg::<lambda_c78dfa2ac9fb41a4dd6e808628d4f507>::operator ():431: Assertion Failed!
fog_lut_offset exceeded maximum value of 127!

SM3DL crashes on first Level

SM3DL crashes with unsupported lighting mode for me

[ 238.317429] HW.GPU <Critical> video_core/renderer_opengl/gl_shader_gen.cpp:operator():402: Unknown lighting LUT input 5

causes

[ 238.319899] Debug <Critical> video_core/renderer_opengl/gl_rasterizer.cpp:operator():930: Assertion Failed!
Uniform block size did not match!

=> assert failed => exit

Fix 1704

Current state of that repo makes me look like an idiot.. (thanks Obama MSVC)

I should probably create my own appveyor account or look for windows VMs, maybe rethink the concept altogether

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.