1. 06 Feb, 2024 1 commit
  2. 26 Jan, 2024 2 commits
  3. 19 Jan, 2024 2 commits
  4. 20 Dec, 2023 1 commit
  5. 08 Dec, 2023 4 commits
  6. 04 Dec, 2023 1 commit
  7. 01 Dec, 2023 2 commits
    • Zebediah Figura's avatar
      wined3d: Set d3d 1-9 textures in the state as SRVs. · 5b60f464
      Zebediah Figura authored
      The idea is to reuse the existing code to handle SRVs, which simplifies the GL
      code and essentially allows the Vulkan code to work "for free" (which is to say,
      by writing this patch, rather than by adding support for flat textures to the
      Vulkan renderer.)
      
      This is a large patch; it consists the following parts:
      
      * Create identity SRVs for d3d 1-9 textures. Store those in
        state->shader_resource_view instead of in state->texture.
      
      * (Re)use wined3d_context_gl_bind_shader_resources() instead of state_sampler()
        to bind them.
      
        - Introduce code to that function to handle FFP textures.
      
        - Bind the sRGB texture if necessary in wined3d_shader_resource_view_gl_bind.
      
      * (Re)use context_gl_load_shader_resources() instead of
        context_preload_textures() to load them.
      
        - Introduce code to that function to handle FFP textures.
      
        - Load the sRGB texture if necessary.
      
        - Port the SRV/RTV feedback loop check from context_preload_textures().
      
      * Invalidate STATE_GRAPHICS_SHADER_RESOURCE_BINDING in places that now need to
        account for texture binding being guarded by that state instead of
        STATE_SAMPLER.
      
        Transitioning the remaining users of STATE_SAMPLER to
        STATE_GRAPHICS_SHADER_RESOURCE_BINDING, and removing STATE_SAMPLER, is left
        for future patches.
      5b60f464
    • Zebediah Figura's avatar
  8. 28 Nov, 2023 1 commit
  9. 17 Nov, 2023 1 commit
  10. 10 Nov, 2023 1 commit
  11. 07 Nov, 2023 2 commits
  12. 18 Oct, 2023 2 commits
  13. 06 Oct, 2023 5 commits
  14. 26 Sep, 2023 2 commits
  15. 14 Sep, 2023 1 commit
    • Zebediah Figura's avatar
      wined3d: Remove WINED3D_TEXTURE_NORMALIZED_COORDS. · 0c4bb266
      Zebediah Figura authored
      This is no longer used. It was previously used in two places to perform
      an open-coded wined3d_context_gl_draw_textured_quad(), but the latter checks
      wined3d_texture_gl.target instead, which is set to GL_TEXTURE_2D or
      GL_TEXTURE_RECTANGLE_ARB under the exact same conditions, making this flag
      redundant even at the time.
      
      The two uses were removed in 012f9b03 [which changed the relevant code to use
      wined3d_context_gl_draw_textured_quad() instead], and cdacbd98 [which removed
      the relevant code entirely.]
      0c4bb266
  16. 25 Aug, 2023 6 commits
  17. 24 Aug, 2023 6 commits