• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 //
2 // Copyright 2022 The ANGLE Project Authors. All rights reserved.
3 // Use of this source code is governed by a BSD-style license that can be
4 // found in the LICENSE file.
5 //
6 // entry_point_utils:
7 //   These helpers are used in GL/GLES entry point routines.
8 
9 #include "libANGLE/entry_points_utils.h"
10 
11 #include "libANGLE/ErrorStrings.h"
12 
13 namespace gl
14 {
GeneratePixelLocalStorageActiveError(const PrivateState & state,ErrorSet * errors,angle::EntryPoint entryPoint)15 bool GeneratePixelLocalStorageActiveError(const PrivateState &state,
16                                           ErrorSet *errors,
17                                           angle::EntryPoint entryPoint)
18 {
19     ASSERT(state.getPixelLocalStorageActivePlanes() != 0);
20     errors->validationError(entryPoint, GL_INVALID_OPERATION, err::kPLSActive);
21     return false;
22 }
23 }  // namespace gl
24