| 169 | } |
| 170 | |
| 171 | void Following::GetActionContext(ICaptureContext &ctx, bool ©, bool &clear, bool &compute) |
| 172 | { |
| 173 | const ActionDescription *curAction = ctx.CurAction(); |
| 174 | copy = curAction != NULL && |
| 175 | (curAction->flags & (ActionFlags::Copy | ActionFlags::Resolve | ActionFlags::Present)); |
| 176 | clear = curAction != NULL && (curAction->flags & ActionFlags::Clear); |
| 177 | compute = curAction != NULL && (curAction->flags & ActionFlags::Dispatch) && |
| 178 | ctx.CurPipelineState().GetShader(ShaderStage::Compute) != ResourceId(); |
| 179 | } |
| 180 | |
| 181 | int Following::GetHighestMip(ICaptureContext &ctx) |
| 182 | { |
nothing calls this directly
no test coverage detected