MCPcopy Create free account
hub / github.com/KhronosGroup/Vulkan-ValidationLayers / Set

Method Set

layers/state_tracker/subresource_adapter.cpp:945–956  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

943 layer_span(rhs.layer_span) {}
944
945void ImageRangeGenerator::IncrementerState::Set(uint32_t y_count_, uint32_t layer_z_count_, IndexType base, IndexType span,
946 IndexType y_step, IndexType z_step) {
947 y_count = y_count_;
948 layer_z_count = layer_z_count_;
949 y_index = 0;
950 layer_z_index = 0;
951 y_base.begin = base;
952 y_base.end = base + span;
953 layer_z_base = y_base;
954 incr_y = y_step;
955 incr_layer_z = z_step;
956}
957
958uint32_t ImageRangeGenerator::IncrementerState::GetNextLayerZIndex() const {
959 if (view_mask_ == 0) {

Calls

no outgoing calls

Tested by

no test coverage detected