1. 30 May, 2018 5 commits
  2. 29 May, 2018 11 commits
  3. 28 May, 2018 2 commits
  4. 25 May, 2018 7 commits
    • GLES1: Lighting and materials (renderer) · 1478afaf
      Lingfeng Yang authored
      - Update test expectations
      - Add gles1 sample app that shows simple lighting.
      
      BUG=angleproject:2306
      
      Change-Id: I545dcf860374abd9d628b0d554153cb634098f6d
      Reviewed-on: https://chromium-review.googlesource.com/1065501
      Commit-Queue: Lingfeng Yang <lfy@google.com>
      Reviewed-by: 's avatarCorentin Wallez <cwallez@chromium.org>
    • Reland "GLES1: Entry points for lighting and materials" · d0febe7a
      Lingfeng Yang authored
      This is a reland of 4a09c1a2
      
      Entry points have been autogenerated again.
      
      Original change's description:
      > GLES1: Entry points for lighting and materials
      >
      > - glLight*/glMaterial and their queries
      > - Use new packed enums in these entry points, except for lightmodel
      > which stays GLenum to be consistent with other generic glGet's
      > - State.cpp: New glGet* queries related to light model and
      > light/normal rescale enablement
      > - GLES1State.cpp: Functions to get/set lighting/material state
      > - Validation for lighting/materials
      >
      > + Add a few convenience methods to random_utils for sampling
      > non-negative floats and a sampler for random booleans
      >
      > BUG=angleproject:2306
      >
      > Change-Id: If7ba0c0a0dc75f88fbaa986b904f1ea96ee6512e
      > Reviewed-on: https://chromium-review.googlesource.com/1065502
      > Commit-Queue: Lingfeng Yang <lfy@google.com>
      > Reviewed-by: Geoff Lang <geofflang@chromium.org>
      
      Bug: angleproject:2306
      Change-Id: I434273acd5200dd9f4925e239a032cc8db31a434
      Reviewed-on: https://chromium-review.googlesource.com/1072849Reviewed-by: 's avatarCorentin Wallez <cwallez@chromium.org>
      Commit-Queue: Lingfeng Yang <lfy@google.com>
    • ES3.1: Set unordered access view related resource limits on D3D11 · d0a7d10f
      Jiawei Shao authored
      This patch sets the implementation-dependent resources limits related
      to unordered access views (images, shader storage blocks, atomic
      counter buffers and fragment shader outputs) on D3D11 back-ends.
      
      For pixel shaders, the render targets and unordered access views share
      the same resource slots when being written out, so we plan to allocate
      these slots as follows:
      - As there are 8 slots for UAVs and RTVs in feature level 11_0, currently
        we assign 1 slot for atomic counter buffer and 7 slots that are shared
        among images, shader storage blocks and fragment shader outputs.
      - As there are 64 slots for UAVs and RTVs in feature level 11_1, currently
        we assign 4 slots for atomic counter buffers and 60 slots that are
        shared among images, shader storage blocks and fragment shader
        outputs.
      
      We also limit the maximum number of draw buffers to 7 if we create ES 3.1
      context on D3D11 feature level is 11_0 because the value of combined shader
      output resources is 7.
      
      This patch also labels several dEQP cases from "FAIL" to "SKIP" because
      since the resource limits on ssbos, atomic counter buffers and images
      in rendering pipeline are set in D3D11 back-ends, the GLSL programs in
      these cases can pass all the related link checks, thus these cases will
      crash due to reaching the unimplemented parts when they are running on
      ANGLE D3D11 back-ends.
      
      BUG=angleproject:2345
      TEST=dEQP-GLES31.functional.state_query.integer.max_compute_atomic_counter_buffers_*
           dEQP-GLES31.functional.state_query.integer.max_compute_shader_storage_blocks_*
           dEQP-GLES31.functional.state_query.integer.max_atomic_counter_buffer_bindings_*
           dEQP-GLES31.functional.state_query.integer.max_combined_atomic_counter_buffers_*
           dEQP-GLES31.functional.state_query.integer.max_image_units_*
           dEQP-GLES31.functional.state_query.integer.max_combined_image_uniforms_*
           dEQP-GLES31.functional.state_query.integer.max_shader_storage_buffer_bindings_*
           dEQP-GLES31.functional.state_query.integer.max_combined_shader_storage_blocks_*
           dEQP-GLES31.functional.state_query.integer.max_combined_shader_output_resources_*
      
      Change-Id: I56a4e6c60d4f6f5bd6f238ae8ce425fb5072a4a3
      Reviewed-on: https://chromium-review.googlesource.com/1046372Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org>
      Reviewed-by: 's avatarCorentin Wallez <cwallez@chromium.org>
      Commit-Queue: Corentin Wallez <cwallez@chromium.org>
    • ES31: Implement FramebufferTextureEXT entry point · 5f9482f4
      Jiawei Shao authored
      This patch adds the entry point and related validation for
      FramebufferTextureEXT defined in OpenGL ES 3.1 extension
      EXT_geometry_shader.
      
      BUG=angleproject:1941
      TEST=angle_end2end_tests
      
      Change-Id: Id6804e0b3971f52273562ce1a325d8377926a558
      Reviewed-on: https://chromium-review.googlesource.com/1069842
      Commit-Queue: Corentin Wallez <cwallez@chromium.org>
      Reviewed-by: 's avatarCorentin Wallez <cwallez@chromium.org>
      Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org>
    • Remove gl::PrimitiveType. · 04796cda
      Jamie Madill authored
      This replaces the usages with gl::PrimitiveMode. Also replaces
      the ProgramD3D Geometry Shader executable storage with a
      PackedEnumMap.
      
      Bug: angleproject:2574
      Change-Id: I476dd2ba92d6267b9ea2bb9a37ee15fb6a91e627
      Reviewed-on: https://chromium-review.googlesource.com/1067115
      Commit-Queue: Jamie Madill <jmadill@chromium.org>
      Reviewed-by: 's avatarYuly Novikov <ynovikov@chromium.org>
    • Add PrimitiveMode packed GLenum. · 493f9571
      Jamie Madill authored
      Bug: angleproject:2574
      Change-Id: I3d7bd7ca0d69a364a611dc04799ea34906fc4a6c
      Reviewed-on: https://chromium-review.googlesource.com/1067114
      Commit-Queue: Jamie Madill <jmadill@chromium.org>
      Reviewed-by: 's avatarYuly Novikov <ynovikov@chromium.org>
    • dEQP: Add attrib init helper function. · b2eda420
      Jamie Madill authored
      This removes a lot of repeated code in tcuANGLEPlatform.cpp.
      
      Bug: angleproject:2552
      Change-Id: Ie4cc53af2dfdf719b78d272cbd260cab5b2efd7b
      Reviewed-on: https://chromium-review.googlesource.com/1064196
      Commit-Queue: Jamie Madill <jmadill@chromium.org>
      Reviewed-by: 's avatarYuly Novikov <ynovikov@chromium.org>
  5. 24 May, 2018 15 commits