123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120 |
- /*
- * Copyright 2011-2012, The Android Open Source Project
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http:
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
- #ifndef _FRAMEWORKS_COMPILE_SLANG_SLANG_VERSION_H_
- #define _FRAMEWORKS_COMPILE_SLANG_SLANG_VERSION_H_
- #include <climits>
- #define RS_DEVELOPMENT_API UINT_MAX
- enum SlangTargetAPI {
- SLANG_MINIMUM_TARGET_API = 11,
- SLANG_HC_TARGET_API = 11,
- SLANG_HC_MR1_TARGET_API = 12,
- SLANG_HC_MR2_TARGET_API = 13,
- SLANG_ICS_TARGET_API = 14,
- SLANG_ICS_MR1_TARGET_API = 15,
- SLANG_JB_TARGET_API = 16,
- SLANG_JB_MR1_TARGET_API = 17,
- SLANG_JB_MR2_TARGET_API = 18,
- SLANG_KK_TARGET_API = 19,
- SLANG_L_TARGET_API = 21,
- SLANG_M_TARGET_API = 23,
- SLANG_N_TARGET_API = 24,
- SLANG_N_MR1_TARGET_API = 25,
- SLANG_O_TARGET_API = 26,
- SLANG_O_MR1_TARGET_API = 27,
- SLANG_P_TARGET_API = 28,
- SLANG_MAXIMUM_TARGET_API = RS_VERSION,
- SLANG_DEVELOPMENT_TARGET_API = RS_DEVELOPMENT_API
- };
- enum SlangFeatureAPI {
- SLANG_FEATURE_GENERAL_REDUCTION_API = SLANG_N_TARGET_API,
- SLANG_FEATURE_GENERAL_REDUCTION_HALTER_API = SLANG_DEVELOPMENT_TARGET_API,
- SLANG_FEATURE_SINGLE_SOURCE_API = SLANG_N_TARGET_API,
- };
- namespace SlangVersion {
- enum {
- LEGACY = 0,
- ICS = 1400,
- JB = 1600,
- JB_MR1 = 1700,
- JB_MR2 = 1800,
- KK = 1900,
- KK_P1 = 1901,
- L = 2100,
- M = 2300,
- M_RS_OBJECT = 2310,
- N = 2400,
- N_STRUCT_EXPLICIT_PADDING = 2410,
- CURRENT = N_STRUCT_EXPLICIT_PADDING
- };
- }
- #endif
|