1. 23 Jan, 2020 3 commits
    • Row-major test: switch to compute · 24627fa4
      Shahbaz Youssefi authored
      Based on Nvidia's recommendation that the following:
      
          all(lessThan(gl_FragCoord.xy, vec2(1.0, 1.0)))
      
      isn't necessarily true for only a single FS invocation, even when not
      multisampling.  The tests that do the above are changed to compute
      instead.
      
      Bug: angleproject:3831
      Change-Id: I22d935f797c2e385218bc6af31e98a7f672a7707
      Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2012743Reviewed-by: 's avatarShahbaz Youssefi <syoussefi@chromium.org>
      Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
    • Vulkan: Remove inactive uniforms in the translator · 135f8fcb
      Shahbaz Youssefi authored
      By removing inactive uniforms in the translator, glslang wrapper doesn't
      need to comment them out.  Additionally, inactive uniforms don't find
      their way in the default uniform block, reducing its size if there's a
      mix of active and inactive uniforms.
      
      As collateral, it also fixes a bug where inactive uniforms of struct
      type were not correctly removed by glslang wrapper.
      
      Bug: angleproject:3394
      Bug: angleproject:4211
      Bug: angleproject:4248
      Change-Id: I874747070e875fe24bf59d39d1322e319e280a16
      Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1999278
      Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
      Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    • Vulkan: Fix setupDraw when VK_EXT_transform_feedback is not enabled · abaeb415
      Michael Spang authored
      There's no dirty bit handler if VK_EXT_transform_feedback disabled, but
      we're setting that dirty bit in syncState. This results in calling a null
      method pointer. Skip the invalidate if the extension is not enabled.
      
          gl::LogMessage::~LogMessage() at ./../../third_party/angle/src/common/debug.cpp:0
          rx::ContextVk::setupDraw(gl::Context const*, gl::PrimitiveMode, int, int, int, gl::DrawElementsType, void const*, angle::BitSetT<11ul, unsigned long, unsigned long>, rx::vk::priv::SecondaryCommandBuffer**) at ./../../third_party/angle/src/libANGLE/renderer/vulkan/ContextVk.cpp:844
          rx::ContextVk::drawArrays(gl::Context const*, gl::PrimitiveMode, int, int) at ./../../third_party/angle/src/libANGLE/renderer/vulkan/ContextVk.cpp:1698
          gl::Context::drawArrays(gl::PrimitiveMode, int, int) at ./../../third_party/angle/src/libANGLE/Context.inl.h:112
          gl::DrawArrays(unsigned int, int, int) at ./../../third_party/angle/src/libGLESv2/entry_points_gles_2_0_autogen.cpp:926
          (anonymous namespace)::AttributeLayoutNonIndexed::Draw(int, unsigned int, unsigned short const*) at ./../../third_party/angle/src/tests/gl_tests/AttributeLayoutTest.cpp:431
          (anonymous namespace)::AttributeLayoutTest::Run(bool) at ./../../third_party/angle/src/tests/gl_tests/AttributeLayoutTest.cpp:305
      
      [This stack is from the added assert; calling a null function pointer
      crashes without producing a useful stack trace.]
      
      Bug: angleproject:4326
      Change-Id: I036ae322bddc4865229fa3fe7ea72a4344b99f83
      Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2011408
      Commit-Queue: Michael Spang <spang@chromium.org>
      Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
  2. 22 Jan, 2020 14 commits
  3. 21 Jan, 2020 5 commits
  4. 20 Jan, 2020 4 commits
  5. 18 Jan, 2020 1 commit
  6. 17 Jan, 2020 12 commits
  7. 16 Jan, 2020 1 commit