Skip to content
  1. Feb 19, 2020
  2. Feb 18, 2020
  3. Feb 17, 2020
  4. Feb 16, 2020
  5. Feb 15, 2020
  6. Feb 14, 2020
  7. Feb 13, 2020
    • ReinUsesLisp's avatar
      vk_shader_decompiler: Fix vertex id and instance id · cbea8c74
      ReinUsesLisp authored
      Vulkan's VertexIndex and InstanceIndex don't match with hardware. This
      is because Nvidia implements gl_VertexID and gl_InstanceID. The math
      that relates these is:
      
      gl_VertexIndex = gl_BaseVertex + gl_VertexID
      gl_InstanceIndex = gl_InstanceIndex + gl_InstanceID
      
      To emulate it using what Vulkan's SPIR-V offers (the *Index variants)
      this commit substracts gl_Base* from gl_*Index to obtain the OpenGL and
      hardware's equivalent.
      cbea8c74
    • Fernando Sahmkow's avatar
      Core: Address Feedback · 2bc94962
      Fernando Sahmkow authored
      2bc94962
Loading