OSDN Git Service

Wire up BuiltInWorkgroupId to compute pipeline
authorChris Forbes <chrisforbes@google.com>
Tue, 19 Mar 2019 16:06:19 +0000 (09:06 -0700)
committerChris Forbes <chrisforbes@google.com>
Tue, 19 Mar 2019 20:38:13 +0000 (20:38 +0000)
commitf2564656e7affc5c5c856186277b9bfc8a100928
tree330c3e722b8d8ffaf804d98c501d28b0696cac40
parentfe1dd4bd781da99626f124b7e05ae356fb04d4b7
Wire up BuiltInWorkgroupId to compute pipeline

Previously this was left uninitialized, with exciting results
when a shader used it for buffer indexing etc.

Bug: b/126871859
Test: dEQP-VK.*push_constant*
Test: dEQP-VK.glsl.*
Test: dEQP-VK.spirv_assembly.*
Change-Id: I57fb9e22cbe57a87072b1039a7d799bedd28ae91
Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/27628
Presubmit-Ready: Chris Forbes <chrisforbes@google.com>
Reviewed-by: Nicolas Capens <nicolascapens@google.com>
Reviewed-by: Ben Clayton <bclayton@google.com>
Tested-by: Chris Forbes <chrisforbes@google.com>
Kokoro-Presubmit: kokoro <noreply+kokoro@google.com>
src/Pipeline/ComputeProgram.cpp