| Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
global.
|
|
TODO: A shader may not use all of these textures at the same time, shader analysis should be performed to determine which textures are actually sampled.
|
|
|
|
|
|
Allow unswizzling of DXT1 textures.
|
|
|
|
|
|
|
|
|
|
|
|
GPU: Added registers for color and Z buffers.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This macro simply sets the current CB_ADDRESS to the texture buffer address for the input shader stage.
|
|
This macro binds the SSBO Info Buffer as the current ConstBuffer.
This buffer is usually bound to c0 during shader execution.
Games seem to use this macro instead of directly writing the address for some reason.
|
|
Writing to this method will cause the written value to be stored in the currently-set ConstBuffer plus CB_POS.
This method is usually used to upload uniforms or other shader-visible data.
|
|
parameters.
|
|
|
|
|
|
|
|
|
|
It'll now set the CB_SIZE, CB_ADDRESS and CB_BIND registers when it's called.
Presumably this SetShader function is binding the constant shader uniforms to buffer 1 (c1[]).
|
|
Register 0xE24 is actually a macro that sets some shader parameters in the register structure.
Macros are uploaded to the GPU at startup and have their own ISA, we'll probably write an interpreter for this in the future.
|
|
GPU: Handle the SetShader method call (0xE24) and store the shader config.
|
|
|
|
|
|
GPU: Process command mode 5 (IncreaseOnce) differently from other commands
|
|
Accumulate all arguments before calling the desired method.
Note: Maybe we should do the same for the NonIncreasing mode?
|
|
Shader address calculation depends on this value to some extent, we do not currently know what it being 0 entails.
|
|
|
|
This is the register that gets written after a game calls DrawArrays().
We should collect all GPU state and draw using our graphics API here.
|
|
|
|
Only QueryMode::Write is supported at the moment.
|
|
Also moved the GPU MemoryManager class to video_core since it makes more sense for it to be there.
|
|
commands to their respective engines.
|