Subversion Repository Public Repository

Divide-Framework

This repository has no backups
This repository's network speed is throttled to 100KB/sec

Diff Revisions 1004 vs 1014 for /trunk/Source Code/Environment/Vegetation/Vegetation.cpp

Diff revisions: vs.
  @@ -378,9 +378,9 @@
378 378 GFX::BindPipeline(cmdBuffer, pipelineCmd);
379 379
380 380 GFX::SendPushConstantsCommand pushConstantsCommand;
381 - pushConstantsCommand._constants.set("ObjectExtent", PushConstantType::VEC3, vec3<F32>(1.0f, 1.0f, 1.0f));
382 - pushConstantsCommand._constants.set("dvd_visibilityDistance", PushConstantType::FLOAT, sceneRenderState.grassVisibility());
383 - pushConstantsCommand._constants.set("cullType", PushConstantType::UINT, /*queryID*/ to_base(CullType::INSTANCE_CLOUD_REDUCTION));
381 + pushConstantsCommand._constants.set("ObjectExtent", GFX::PushConstantType::VEC3, vec3<F32>(1.0f, 1.0f, 1.0f));
382 + pushConstantsCommand._constants.set("dvd_visibilityDistance", GFX::PushConstantType::FLOAT, sceneRenderState.grassVisibility());
383 + pushConstantsCommand._constants.set("cullType", GFX::PushConstantType::UINT, /*queryID*/ to_base(CullType::INSTANCE_CLOUD_REDUCTION));
384 384 GFX::SendPushConstants(cmdBuffer, pushConstantsCommand);
385 385
386 386 GFX::DrawCommand drawCmd;
  @@ -413,11 +413,11 @@
413 413 pkgInOut.pipeline(0, _context.newPipeline(pipeDesc));
414 414
415 415 PushConstants constants = pkgInOut.pushConstants(0);
416 - constants.set("grassScale", PushConstantType::FLOAT, 1.0f);
417 - constants.set("positionOffsets", PushConstantType::VEC3, _grassBlades);
418 - constants.set("texCoordOffsets", PushConstantType::VEC2, _texCoord);
419 - constants.set("rotationMatrices", PushConstantType::MAT3, _rotationMatrices, true);
420 - constants.set("lod_metric", PushConstantType::FLOAT, 100.0f);
416 + constants.set("grassScale", GFX::PushConstantType::FLOAT, 1.0f);
417 + constants.set("positionOffsets", GFX::PushConstantType::VEC3, _grassBlades);
418 + constants.set("texCoordOffsets", GFX::PushConstantType::VEC2, _texCoord);
419 + constants.set("rotationMatrices", GFX::PushConstantType::MAT3, _rotationMatrices, true);
420 + constants.set("lod_metric", GFX::PushConstantType::FLOAT, 100.0f);
421 421 pkgInOut.pushConstants(0, constants);
422 422
423 423 SceneNode::buildDrawCommands(sgn, renderStagePass, pkgInOut);