Bug 56739 - OpenGL ES 3.0 triangles explode
Summary: OpenGL ES 3.0 triangles explode
Status: CONFIRMED
Alias: None
Product: Android
Classification: Xamarin
Component: General (show other bugs)
Version: 7.3 (15.2)
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: ---
Assignee: Jonathan Pryor
URL:
Depends on:
Blocks:
 
Reported: 2017-05-22 21:00 UTC by Will Smith
Modified: 2017-05-22 21:35 UTC (History)
2 users (show)

See Also:
Tags:
Is this bug a regression?: ---
Last known good build:


Attachments
Screenshot when using Xamarin.Android 7.2 (322.63 KB, image/png)
2017-05-22 21:00 UTC, Will Smith
Details
Screenshot when using Xamarin.Android 7.3 (71.54 KB, image/png)
2017-05-22 21:01 UTC, Will Smith
Details

Description Will Smith 2017-05-22 21:00:33 UTC
Created attachment 22373 [details]
Screenshot when using Xamarin.Android 7.2

## Overview

I have a personal project that I've been working on that makes use of OpenGL ES 3. The project is also entirely written in F#. It currently works for iOS, Android, and Desktop(though not fully working due to my own changes).

With the latest Xamarin.Android 7.3 update, running the project shows that the rendering of triangles are basically exploding or deformed. If I downgrade to Xamarin.Android 7.2, everything works fine. I've included attached screenshots showing the difference.

## How to Reproduce

1. Use an OSX machine with Visual Studio for Mac.
2. Clone the repo at this commit, https://github.com/TIHan/Foom/tree/0bbf7a6bd8ccd9c31d8653941d7755ee3381a235
3. In the root of the repo, run `./build.sh`. This will grab all the packages.
4. Open Foom.sln.
5. Choose configuration Foom.Droid - Debug. 
6. Build and deploy to a device that is Android 4.4 or greater.

## Visual Studio for Mac Details

Visual Studio Enterprise 2017 for Mac
Version 7.0 (build 3146)
Installation UUID: 447ed991-b2b6-4904-9b56-af2b7854d087
Runtime:
	Mono 5.0.0.100 (2017-02/9667aa6) (64-bit)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 500000100

NuGet
Version: 4.0.0.2323

.NET Core
Runtime: /usr/local/share/dotnet/dotnet
SDK: /usr/local/share/dotnet/sdk/1.0.0-preview2-003121/Sdks
MSBuild SDKs: /Library/Frameworks/Mono.framework/Versions/5.0.0/lib/mono/msbuild/15.0/bin/Sdks

Xamarin.Profiler
Version: 1.5.4
Location: /Applications/Xamarin Profiler.app/Contents/MacOS/Xamarin Profiler

Apple Developer Tools
Xcode 8.3.2 (12175)
Build 8E2002

Xamarin.iOS
Version: 10.10.0.33 (Visual Studio Enterprise)
Hash: 3e5ac5ff
Branch: d15-2
Build date: 2017-05-05 18:11:38-0400

Xamarin.Android
Version: 7.3.1.1 (Visual Studio Enterprise)
Android SDK: /Users/williamsmith/Library/Developer/Xamarin/android-sdk-macosx
	Supported Android versions:
		4.0.3  (API level 15)
		4.2    (API level 17)
		4.4    (API level 19)
		4.4.87 (API level 20)
		5.1    (API level 22)
		6.0    (API level 23)
		7.1    (API level 25)

SDK Tools Version: 26.0.2
SDK Platform Tools Version: 25.0.5
SDK Build Tools Version: 23.0.2

Java SDK: /usr
java version "1.8.0_101"
Java(TM) SE Runtime Environment (build 1.8.0_101-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.101-b13, mixed mode)

Android Designer EPL code available here:
https://github.com/xamarin/AndroidDesigner.EPL

Xamarin Inspector
Version: 1.2.2
Hash: b71b035
Branch: d15-1
Build date: Fri, 21 Apr 2017 17:57:12 GMT

Xamarin.Mac
Version: 3.4.0.33 (Visual Studio Enterprise)

Build Information
Release ID: 700003146
Git revision: 7553fda2e327d15807298d444007896e5b975dba
Build date: 2017-05-09 12:12:36-04
Xamarin addins: c3d580752be79fc902422f1d55d1cdc2d8b98799
Build lane: monodevelop-lion-d15-2

Operating System
Mac OS X 10.12.4
Darwin 16.5.0 Darwin Kernel Version 16.5.0
    Fri Mar  3 16:52:33 PST 2017
    root:xnu-3789.51.2~3/RELEASE_X86_64 x86_64
Comment 1 Will Smith 2017-05-22 21:01:02 UTC
Created attachment 22374 [details]
Screenshot when using Xamarin.Android 7.3
Comment 4 Kent Green [MSFT] 2017-05-22 21:35:55 UTC
I am able to reproduce this issue on my end using a Google Pixel 7.1.2 device by following the steps in the bug description. Therefore I am marking this bug as "CONFIRMED."

=== Visual Studio Enterprise 2017 for Mac ===

Version 7.0 (build 3146)
Installation UUID: 42f9117b-22e2-4aaa-8fa1-535faf6d64a4
Runtime:
	Mono 5.0.0.100 (2017-02/9667aa6) (64-bit)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 500000100

=== NuGet ===

Version: 4.0.0.2323

=== .NET Core ===

Runtime: Not installed
SDK: Not installed
MSBuild SDKs: /Library/Frameworks/Mono.framework/Versions/5.0.0/lib/mono/msbuild/15.0/bin/Sdks

=== Xamarin.Profiler ===

Version: 1.5.4
Location: /Applications/Xamarin Profiler.app/Contents/MacOS/Xamarin Profiler

=== Apple Developer Tools ===

Xcode 8.3.2 (12175)
Build 8E2002

=== Xamarin.Mac ===

Version: 3.4.0.33 (Visual Studio Enterprise)

=== Xamarin.Android ===

Version: 7.3.1.1 (Visual Studio Enterprise)
Android SDK: /Users/kentgreen/Library/Developer/Xamarin/android-sdk-macosx
	Supported Android versions:
		4.0.3  (API level 15)
		4.1    (API level 16)
		4.2    (API level 17)
		4.3    (API level 18)
		4.4    (API level 19)
		4.4.87 (API level 20)
		5.0    (API level 21)
		5.1    (API level 22)
		6.0    (API level 23)
		7.0    (API level 24)
		7.1    (API level 25)

SDK Tools Version: 26.0.2
SDK Platform Tools Version: 25.0.5
SDK Build Tools Version: 25.0.3

Java SDK: /usr
java version "1.8.0_65"
Java(TM) SE Runtime Environment (build 1.8.0_65-b17)
Java HotSpot(TM) 64-Bit Server VM (build 25.65-b01, mixed mode)

Android Designer EPL code available here:
https://github.com/xamarin/AndroidDesigner.EPL

=== Xamarin Inspector ===

Version: 1.2.2
Hash: b71b035
Branch: d15-1
Build date: Fri, 21 Apr 2017 17:57:12 GMT

=== Xamarin.iOS ===

Version: 10.10.0.33 (Visual Studio Enterprise)
Hash: 3e5ac5ff
Branch: d15-2
Build date: 2017-05-05 18:11:38-0400

=== Build Information ===

Release ID: 700003146
Git revision: 7553fda2e327d15807298d444007896e5b975dba
Build date: 2017-05-09 12:12:36-04
Xamarin addins: c3d580752be79fc902422f1d55d1cdc2d8b98799
Build lane: monodevelop-lion-d15-2

=== Operating System ===

Mac OS X 10.12.4
Darwin 16.5.0 Darwin Kernel Version 16.5.0
    Fri Mar  3 16:52:33 PST 2017
    root:xnu-3789.51.2~3/RELEASE_X86_64 x86_64

Note You need to log in before you can comment on or make changes to this bug.