1. 08 Sep, 2015 4 commits
    • Mark GL_RGB10_A2UI as a renderable format. · 9bbad18e
      Geoff Lang authored
      dEQP-GLES3.functional.fbo.color.tex3d.rgb10_a2ui was already failing but
      because the framebuffer was marked as unsupported, dEQP considers the test to
      be passing.
      
      BUG=angleproject:1149
      BUG=angleproject:1097
      
      Change-Id: I82223e8e927d1fd6d66f75b5fdea7989c92d706d
      Reviewed-on: https://chromium-review.googlesource.com/298031Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
      Tested-by: 's avatarGeoff Lang <geofflang@chromium.org>
    • Don't evaluate short-circuited preprocessor expressions · 809ec546
      Olli Etuaho authored
      Resubmit with clang build issue fixed. The result of a short-circuited
      operation is now either 0 or 1.
      
      ESSL 3.00 spec section 3.4 mentions that the second operand in a logical
      && or || preprocessor operation is evaluated only if the first operand
      doesn't short-circuit the expression. The non-evaluated part of a
      preprocessor expression may also have undefined identifiers.
      
      Make the expression parser follow the spec by ignoring errors that are
      generated inside short-circuited expressions. This includes undefined
      identifiers and divide by zero.
      
      BUG=angleproject:347
      TEST=dEQP-GLES3.functional.shaders.preprocessor.undefined_identifiers.*
           angle_unittests
      
      Change-Id: I4163f96ec46d40ac859ffb39d91b89490041e44d
      Reviewed-on: https://chromium-review.googlesource.com/297252Tested-by: 's avatarOlli Etuaho <oetuaho@nvidia.com>
      Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    • Revert "Don't evaluate short-circuited preprocessor expressions" · 9a1b49f7
      Jamie Madill authored
      Build break on Clang:
      
      FAILED: /b/build/goma/gomacc ../../third_party/llvm-build/Release+Asserts/bin/clang++ -MMD -MF obj/third_party/angle/src/compiler/preprocessor/preprocessor.ExpressionParser.o.d -DV8_DEPRECATION_WARNINGS -DCLD_VERSION=2 -D__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE=0 -DCHROMIUM_BUILD -DCR_CLANG_REVISION=245965-1 -DUSE_LIBJPEG_TURBO=1 -DENABLE_ONE_CLICK_SIGNIN -DENABLE_PRE_SYNC_BACKUP -DENABLE_WEBRTC=1 -DENABLE_MEDIA_ROUTER=1 -DUSE_PROPRIETARY_CODECS -DENABLE_PEPPER_CDMS -DENABLE_CONFIGURATION_POLICY -DENABLE_NOTIFICATIONS -DENABLE_HIDPI=1 -DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE -DDONT_EMBED_BUILD_METADATA -DDCHECK_ALWAYS_ON=1 -DFIELDTRIAL_TESTING_ENABLED -DENABLE_TASK_MANAGER=1 -DENABLE_EXTENSIONS=1 -DENABLE_PDF=1 -DENABLE_PLUGIN_INSTALLATION=1 -DENABLE_PLUGINS=1 -DENABLE_SESSION_SERVICE=1 -DENABLE_THEMES=1 -DENABLE_AUTOFILL_DIALOG=1 -DENABLE_BACKGROUND=1 -DENABLE_GOOGLE_NOW=1 -DENABLE_PRINTING=1 -DENABLE_BASIC_PRINTING=1 -DENABLE_PRINT_PREVIEW=1 -DENABLE_SPELLCHECK=1 -DUSE_BROWSER_SPELLCHECKER=1 -DENABLE_CAPTIVE_PORTAL_DETECTION=1 -DENABLE_APP_LIST=1 -DENABLE_SETTINGS_APP=1 -DENABLE_SUPERVISED_USERS=1 -DENABLE_SERVICE_DISCOVERY=1 -DENABLE_WIFI_BOOTSTRAPPING=1 -DV8_USE_EXTERNAL_STARTUP_DATA -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DSAFE_BROWSING_SERVICE -DUSE_LIBPCI=1 -DUSE_OPENSSL=1 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -Igen -isysroot /Applications/Xcode5.1.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -O2 -gdwarf-2 -fvisibility=hidden -Werror -Wnewline-eof -mmacosx-version-min=10.6 -arch x86_64 -Wendif-labels -Wno-unused-parameter -Wno-missing-field-initializers -Wno-selector-type-mismatch -Wpartial-availability -Wheader-hygiene -Wno-char-subscripts -Wno-unneeded-internal-declaration -Wno-covered-switch-default -Wstring-conversion -Wno-c++11-narrowing -Wno-deprecated-register -Wno-inconsistent-missing-override -Wno-shift-negative-value -Wno-unused-function -Wno-unused-variable -std=c++11 -fno-rtti -fno-exceptions -fvisibility-inlines-hidden -fno-threadsafe-statics -Xclang -load -Xclang /b/build/slave/GPU_Mac_Builder/build/src/third_party/llvm-build/Release+Asserts/lib/libFindBadConstructs.dylib -Xclang -add-plugin -Xclang find-bad-constructs -Xclang -plugin-arg-find-bad-constructs -Xclang check-templates -fcolor-diagnostics -fno-strict-aliasing  -c ../../third_party/angle/src/compiler/preprocessor/ExpressionParser.cpp -o obj/third_party/angle/src/compiler/preprocessor/preprocessor.ExpressionParser.o
      ../../third_party/angle/src/compiler/preprocessor/ExpressionParser.cpp:1372:35: error: use of logical '||' with constant operand [-Werror,-Wconstant-logical-operand]
                  (yyval) = (yyvsp[-3]) || 0;
                                        ^  ~
      ../../third_party/angle/src/compiler/preprocessor/ExpressionParser.cpp:1372:35: note: use '|' for a bitwise operation
                  (yyval) = (yyvsp[-3]) || 0;
                                        ^~
                                        |
      ../../third_party/angle/src/compiler/preprocessor/ExpressionParser.cpp:1406:35: error: use of logical '&&' with constant operand [-Werror,-Wconstant-logical-operand]
                  (yyval) = (yyvsp[-3]) && 0;
                                        ^  ~
      ../../third_party/angle/src/compiler/preprocessor/ExpressionParser.cpp:1406:35: note: use '&' for a bitwise operation
                  (yyval) = (yyvsp[-3]) && 0;
                                        ^~
                                        &
      ../../third_party/angle/src/compiler/preprocessor/ExpressionParser.cpp:1406:35: note: remove constant to silence this warning
                  (yyval) = (yyvsp[-3]) && 0;
                                       ~^~~~
      
      BUG=angleproject:347
      
      This reverts commit 6ffe6135.
      
      Change-Id: I6d81666cca573f320bfb1164a6c794b6f75f7463
      Reviewed-on: https://chromium-review.googlesource.com/298020Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
      Tested-by: 's avatarJamie Madill <jmadill@chromium.org>
    • Revert "Mark GL_RGB10_A2UI as a renderable format." · 47f730fa
      Jamie Madill authored
      Fails the dEQP test:
      
      dEQP-GLES3.functional.fbo.color.tex3d.rgb10_a2ui
      
      BUG=angleproject:1149
      
      This reverts commit d0f9fdc7.
      
      Change-Id: I5b76255be3fc1f0734395dac609e2949fc8c8185
      Reviewed-on: https://chromium-review.googlesource.com/298010Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
      Tested-by: 's avatarJamie Madill <jmadill@chromium.org>
  2. 07 Sep, 2015 1 commit
    • Don't evaluate short-circuited preprocessor expressions · 6ffe6135
      Olli Etuaho authored
      ESSL 3.00 spec section 3.4 mentions that the second operand in a logical
      && or || preprocessor operation is evaluated only if the first operand
      doesn't short-circuit the expression. The non-evaluated part of a
      preprocessor expression may also have undefined identifiers.
      
      Make the expression parser follow the spec by ignoring errors that are
      generated inside short-circuited expressions. This includes undefined
      identifiers and divide by zero.
      
      BUG=angleproject:347
      TEST=dEQP-GLES3.functional.shaders.preprocessor.undefined_identifiers.*
           angle_unittests
      
      Change-Id: Ieed02a71298af838f784a5d1197d4f4a9ba0e3c8
      Reviewed-on: https://chromium-review.googlesource.com/295033Reviewed-by: 's avatarZhenyao Mo <zmo@chromium.org>
      Tested-by: 's avatarOlli Etuaho <oetuaho@nvidia.com>
  3. 04 Sep, 2015 13 commits
  4. 03 Sep, 2015 12 commits
  5. 02 Sep, 2015 9 commits
  6. 01 Sep, 2015 1 commit