mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-14 07:36:15 +00:00
Validate SetPushConstants is done inside subpass and compute passes
This commit is contained in:
committed by
Corentin Wallez
parent
be985c1aab
commit
c8377da79b
@@ -314,7 +314,7 @@ namespace opengl {
|
||||
int32_t* valuesInt = reinterpret_cast<int32_t*>(valuesUInt);
|
||||
float* valuesFloat = reinterpret_cast<float*>(valuesUInt);
|
||||
|
||||
for (auto stage : IterateStages(cmd->stage)) {
|
||||
for (auto stage : IterateStages(cmd->stages)) {
|
||||
const auto& pushConstants = lastPipeline->GetPushConstants(stage);
|
||||
const auto& glPushConstants = lastGLPipeline->GetGLPushConstants(stage);
|
||||
for (size_t i = 0; i < cmd->count; i++) {
|
||||
|
||||
Reference in New Issue
Block a user