Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2021-07-23 | shader: Remove old shader management | ReinUsesLisp | 1 | -103/+0 | |
2020-06-05 | shader/texture: Join separate image and sampler pairs offline | ReinUsesLisp | 1 | -0/+1 | |
Games using D3D idioms can join images and samplers when a shader executes, instead of baking them into a combined sampler image. This is also possible on Vulkan. One approach to this solution would be to use separate samplers on Vulkan and leave this unimplemented on OpenGL, but we can't do this because there's no consistent way of determining which constant buffer holds a sampler and which one an image. We could in theory find the first bit and if it's in the TIC area, it's an image; but this falls apart when an image or sampler handle use an index of zero. The used approach is to track for a LOP.OR operation (this is done at an IR level, not at an ISA level), track again the constant buffers used as source and store this pair. Then, outside of shader execution, join the sample and image pair with a bitwise or operation. This approach won't work on games that truly use separate samplers in a meaningful way. For example, pooling textures in a 2D array and determining at runtime what sampler to use. This invalidates OpenGL's disk shader cache :) - Used mostly by D3D ports to Switch | |||||
2020-03-27 | engines/const_buffer_engine_interface: Store image format type | ReinUsesLisp | 1 | -4/+10 | |
This information is required to properly implement SULD.B. It might also be handy for all image operations, since it would allow us to implement them on devices that require the image format to be specified (on desktop, this would be AMD on OpenGL and Intel on OpenGL and Vulkan). | |||||
2020-03-09 | const_buffer_engine_interface: Store component types | ReinUsesLisp | 1 | -43/+24 | |
This is required for Vulkan. Sampling integer textures with float handles is illegal. | |||||
2020-01-24 | Shader_IR: Allow constant access of guest driver. | Fernando Sahmkow | 1 | -0/+1 | |
2020-01-24 | GPU: Implement guest driver profile and deduce texture handler sizes. | Fernando Sahmkow | 1 | -0/+3 | |
2019-11-23 | video_core: Unify ProgramType and ShaderStage into ShaderType | ReinUsesLisp | 1 | -9/+1 | |
2019-10-26 | Shader_IR: Address Feedback. | Fernando Sahmkow | 1 | -3/+6 | |
2019-10-25 | gl_shader_disk_cache: Store and load fast BRX | ReinUsesLisp | 1 | -19/+16 | |
2019-10-25 | Shader_IR: allow lookup of texture samplers within the shader_ir for instructions that don't provide it | Fernando Sahmkow | 1 | -1/+94 | |
2019-10-25 | VideoCore: Unify const buffer accessing along engines and provide ConstBufferLocker class to shaders. | Fernando Sahmkow | 1 | -0/+26 | |