mirror of
https://github.com/utmapp/angle.git
synced 2026-12-01 22:13:25 -10:00
Bug: angleproject:5759 Change-Id: Ieeb5a251e614a4df1b5362dee474b368f362e0fc Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2826121 Commit-Queue: John Plate <[email protected]> Reviewed-by: Jamie Madill <[email protected]>
28 lines
803 B
C
28 lines
803 B
C
//
|
|
// Copyright 2021 The ANGLE Project Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
// found in the LICENSE file.
|
|
//
|
|
// angle_cl.h:
|
|
// Includes all necessary CL headers and definitions for ANGLE.
|
|
//
|
|
|
|
#ifndef ANGLECL_H_
|
|
#define ANGLECL_H_
|
|
|
|
// Workaround: The OpenCL headers use 'intptr_t' but don't include 'stdint.h' on Windows.
|
|
// TODO(jplate): Remove after the CL headers are fixed.
|
|
#include <stdint.h>
|
|
|
|
#define CL_TARGET_OPENCL_VERSION 300
|
|
#define CL_USE_DEPRECATED_OPENCL_1_0_APIS
|
|
#define CL_USE_DEPRECATED_OPENCL_1_1_APIS
|
|
#define CL_USE_DEPRECATED_OPENCL_1_2_APIS
|
|
#define CL_USE_DEPRECATED_OPENCL_2_0_APIS
|
|
#define CL_USE_DEPRECATED_OPENCL_2_1_APIS
|
|
#define CL_USE_DEPRECATED_OPENCL_2_2_APIS
|
|
|
|
#include "CL/opencl.h"
|
|
|
|
#endif // ANGLECL_H_
|