OSDN Git Service

Fix provoking vertex convention and remove configurability
authorChris Forbes <chrisforbes@google.com>
Mon, 18 Mar 2019 22:01:48 +0000 (15:01 -0700)
committerChris Forbes <chrisforbes@google.com>
Thu, 21 Mar 2019 18:49:47 +0000 (18:49 +0000)
commit603a1b53f72ed4f99dfd47eeedffd6879545b027
treeb9af99db54664d9d4d54d89032853afc025188b7
parentfc06fd13053801eabc6845e3431fabbd0bf981c0
Fix provoking vertex convention and remove configurability

- secondaryColor control only made sense in fixed-function
- Vulkan provoking vertex is always the first vertex

Bug: b/125909515
Test: dEQP-VK.rasterization.flatshading.*
Change-Id: I9b6826e093076ee7ca5ef6deaf1b1fbd1c2f39e3
Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/27509
Presubmit-Ready: Chris Forbes <chrisforbes@google.com>
Tested-by: Chris Forbes <chrisforbes@google.com>
Kokoro-Presubmit: kokoro <noreply+kokoro@google.com>
Reviewed-by: Nicolas Capens <nicolascapens@google.com>
src/Device/Context.cpp
src/Device/Renderer.cpp
src/Device/Renderer.hpp
src/Pipeline/SetupRoutine.cpp