| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2015 Google Inc. | 2 * Copyright 2015 Google Inc. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
| 5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
| 6 */ | 6 */ |
| 7 | 7 |
| 8 #include "GrVkCaps.h" | 8 #include "GrVkCaps.h" |
| 9 | 9 |
| 10 #include "GrVkUtil.h" | 10 #include "GrVkUtil.h" |
| (...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 273 static const StencilFormat | 273 static const StencilFormat |
| 274 // internal Format stencil bits total bits
packed? | 274 // internal Format stencil bits total bits
packed? |
| 275 gS8 = { VK_FORMAT_S8_UINT, 8, 8,
false }, | 275 gS8 = { VK_FORMAT_S8_UINT, 8, 8,
false }, |
| 276 gD24S8 = { VK_FORMAT_D24_UNORM_S8_UINT, 8, 32,
true }; | 276 gD24S8 = { VK_FORMAT_D24_UNORM_S8_UINT, 8, 32,
true }; |
| 277 | 277 |
| 278 // I'm simply assuming that these two will be supported since they are used
in example code. | 278 // I'm simply assuming that these two will be supported since they are used
in example code. |
| 279 // TODO: Actaully figure this out | 279 // TODO: Actaully figure this out |
| 280 SET_CONFIG_CAN_STENCIL(gS8); | 280 SET_CONFIG_CAN_STENCIL(gS8); |
| 281 SET_CONFIG_CAN_STENCIL(gD24S8); | 281 SET_CONFIG_CAN_STENCIL(gD24S8); |
| 282 } | 282 } |
| 283 | |
| OLD | NEW |