Skip to content

Commit

Permalink
Add more viewport scale optons
Browse files Browse the repository at this point in the history
  • Loading branch information
RenfengLiu committed Dec 9, 2024
1 parent a2473d6 commit 60733df
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion benchmarks/graphics_pipeline/GraphicsBenchmarkApp.h
Original file line number Diff line number Diff line change
Expand Up @@ -226,10 +226,14 @@ struct QuadViewportScale
float scale;
};

static constexpr std::array<DropdownEntry<QuadViewportScale>, 3> kAvailableViewportScales = {{
static constexpr std::array<DropdownEntry<QuadViewportScale>, 7> kAvailableViewportScales = {{
{"1", 1.0}, // No scale
{"1/2", 0.5}, // scale to 1/2
{"1/4", 0.25}, // scale to 1/4
{"1/16", 0.0625},// scale to 1/16"
{"1/64", 0.015625},// scale to 1/64"
{"1/256", 0.00390625},// scale to 1/256"
{"1/1024",0.0009765625}, //scale t0 1/1024
}};

static constexpr std::array<DropdownEntry<grfx::BlendMode>, 3> kQuadBlendModes = {{
Expand Down

0 comments on commit 60733df

Please sign in to comment.