|
|
@ -595,8 +595,8 @@ void Maxwell3D::DrawArrays() {
|
|
|
|
|
|
|
|
|
|
|
|
std::optional<u64> Maxwell3D::GetQueryResult() {
|
|
|
|
std::optional<u64> Maxwell3D::GetQueryResult() {
|
|
|
|
switch (regs.query.query_get.select) {
|
|
|
|
switch (regs.query.query_get.select) {
|
|
|
|
case Regs::QuerySelect::Zero:
|
|
|
|
case Regs::QuerySelect::Payload:
|
|
|
|
return 0;
|
|
|
|
return regs.query.query_sequence;
|
|
|
|
case Regs::QuerySelect::SamplesPassed:
|
|
|
|
case Regs::QuerySelect::SamplesPassed:
|
|
|
|
// Deferred.
|
|
|
|
// Deferred.
|
|
|
|
rasterizer->Query(regs.query.QueryAddress(), QueryType::SamplesPassed,
|
|
|
|
rasterizer->Query(regs.query.QueryAddress(), QueryType::SamplesPassed,
|
|
|
|