Warnings (#1791)
This commit is contained in:
@@ -81,7 +81,7 @@ void main() {
|
||||
float b = getElevation(v_pos + vec2(0, -epsilon.y), 0.0);
|
||||
float c = getElevation(v_pos + vec2(epsilon.x, -epsilon.y), 0.0);
|
||||
float d = getElevation(v_pos + vec2(-epsilon.x, 0), 0.0);
|
||||
float e = getElevation(v_pos, 0.0);
|
||||
//float e = getElevation(v_pos, 0.0);
|
||||
float f = getElevation(v_pos + vec2(epsilon.x, 0), 0.0);
|
||||
float g = getElevation(v_pos + vec2(-epsilon.x, epsilon.y), 0.0);
|
||||
float h = getElevation(v_pos + vec2(0, epsilon.y), 0.0);
|
||||
|
||||
@@ -64,7 +64,7 @@ void main() {
|
||||
float b = getElevation(v_pos + vec2(0, -epsilon.y), 0.0);
|
||||
float c = getElevation(v_pos + vec2(epsilon.x, -epsilon.y), 0.0);
|
||||
float d = getElevation(v_pos + vec2(-epsilon.x, 0), 0.0);
|
||||
float e = getElevation(v_pos, 0.0);
|
||||
//float e = getElevation(v_pos, 0.0);
|
||||
float f = getElevation(v_pos + vec2(epsilon.x, 0), 0.0);
|
||||
float g = getElevation(v_pos + vec2(-epsilon.x, epsilon.y), 0.0);
|
||||
float h = getElevation(v_pos + vec2(0, epsilon.y), 0.0);
|
||||
|
||||
@@ -93,7 +93,7 @@ half4 fragment fragmentMain(FragmentStage in [[stage_in]],
|
||||
float b = getElevation(in.pos + float2(0, -epsilon.y), 0.0, image, image_sampler, drawable.unpack);
|
||||
float c = getElevation(in.pos + float2(epsilon.x, -epsilon.y), 0.0, image, image_sampler, drawable.unpack);
|
||||
float d = getElevation(in.pos + float2(-epsilon.x, 0), 0.0, image, image_sampler, drawable.unpack);
|
||||
float e = getElevation(in.pos, 0.0, image, image_sampler, drawable.unpack);
|
||||
//float e = getElevation(in.pos, 0.0, image, image_sampler, drawable.unpack);
|
||||
float f = getElevation(in.pos + float2(epsilon.x, 0), 0.0, image, image_sampler, drawable.unpack);
|
||||
float g = getElevation(in.pos + float2(-epsilon.x, epsilon.y), 0.0, image, image_sampler, drawable.unpack);
|
||||
float h = getElevation(in.pos + float2(0, epsilon.y), 0.0, image, image_sampler, drawable.unpack);
|
||||
|
||||
@@ -817,11 +817,14 @@ void TestRunner::run(TestMetadata& metadata) {
|
||||
|
||||
// TODO: remove usage of std::codecvt_utf8
|
||||
// https://github.com/maplibre/maplibre-native/issues/1269
|
||||
#if defined(__clang__)
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
|
||||
#endif
|
||||
static std::wstring_convert<std::codecvt_utf8<char16_t>, char16_t> cv;
|
||||
#if defined(__clang__)
|
||||
#pragma clang diagnostic pop
|
||||
|
||||
#endif
|
||||
if (it == symbols.end()) {
|
||||
symbols.push_back({tileId, box, placed, isIcon});
|
||||
return;
|
||||
|
||||
@@ -46,7 +46,7 @@ void main() {
|
||||
float b = getElevation(v_pos + vec2(0, -epsilon.y), 0.0);
|
||||
float c = getElevation(v_pos + vec2(epsilon.x, -epsilon.y), 0.0);
|
||||
float d = getElevation(v_pos + vec2(-epsilon.x, 0), 0.0);
|
||||
float e = getElevation(v_pos, 0.0);
|
||||
//float e = getElevation(v_pos, 0.0);
|
||||
float f = getElevation(v_pos + vec2(epsilon.x, 0), 0.0);
|
||||
float g = getElevation(v_pos + vec2(-epsilon.x, epsilon.y), 0.0);
|
||||
float h = getElevation(v_pos + vec2(0, epsilon.y), 0.0);
|
||||
|
||||
@@ -38,7 +38,7 @@ void main() {
|
||||
float b = getElevation(v_pos + vec2(0, -epsilon.y), 0.0);
|
||||
float c = getElevation(v_pos + vec2(epsilon.x, -epsilon.y), 0.0);
|
||||
float d = getElevation(v_pos + vec2(-epsilon.x, 0), 0.0);
|
||||
float e = getElevation(v_pos, 0.0);
|
||||
//float e = getElevation(v_pos, 0.0);
|
||||
float f = getElevation(v_pos + vec2(epsilon.x, 0), 0.0);
|
||||
float g = getElevation(v_pos + vec2(-epsilon.x, epsilon.y), 0.0);
|
||||
float h = getElevation(v_pos + vec2(0, epsilon.y), 0.0);
|
||||
|
||||
Reference in New Issue
Block a user