@@ -2256,19 +2256,22 @@ extern SDL_DECLSPEC SDL_GPUDevice * SDLCALL SDL_CreateGPUDevice(
2256
2256
*
2257
2257
* With the Vulkan renderer:
2258
2258
*
2259
- * - `SDL_PROP_GPU_DEVICE_CREATE_VULKAN_SHADERCLIPDISTANCE_BOOL`: Enable device feature
2260
- * shaderClipDistance. If disabled, clip distances are not supported in shader code:
2261
- * gl_ClipDistance[] built-ins of GLSL, SV_ClipDistance0/1 semantics of HLSL and
2262
- * [[clip_distance]] attribute of Metal. Defaults to true.
2263
- * - `SDL_PROP_GPU_DEVICE_CREATE_VULKAN_DEPTHCLAMP_BOOL`: Enable device feature
2264
- * depthClamp. If disabled, there is no depth clamp support and enable_depth_clip in
2265
- * SDL_GPURasterizerState must always be set to true. Defaults to true.
2266
- * - `SDL_PROP_GPU_DEVICE_CREATE_VULKAN_DRAWINDIRECTFIRST_BOOL`: Enable device feature
2267
- * drawIndirectFirstInstance. If disabled, the argument first_instance of
2268
- * SDL_GPUIndirectDrawCommand must be set to zero. Defaults to true.
2269
- * - `SDL_PROP_GPU_DEVICE_CREATE_VULKAN_SAMPLERANISOTROPY_BOOL`: Enable device feature
2270
- * samplerAnisotropy. If disabled, enable_anisotropy of SDL_GPUSamplerCreateInfo must
2271
- * be set to false. Defaults to true.
2259
+ * - `SDL_PROP_GPU_DEVICE_CREATE_VULKAN_SHADERCLIPDISTANCE_BOOL`: Enable
2260
+ * device feature shaderClipDistance. If disabled, clip distances are not
2261
+ * supported in shader code: gl_ClipDistance[] built-ins of GLSL,
2262
+ * SV_ClipDistance0/1 semantics of HLSL and [[clip_distance]] attribute of
2263
+ * Metal. Defaults to true.
2264
+ * - `SDL_PROP_GPU_DEVICE_CREATE_VULKAN_DEPTHCLAMP_BOOL`: Enable device
2265
+ * feature depthClamp. If disabled, there is no depth clamp support and
2266
+ * enable_depth_clip in SDL_GPURasterizerState must always be set to true.
2267
+ * Defaults to true.
2268
+ * - `SDL_PROP_GPU_DEVICE_CREATE_VULKAN_DRAWINDIRECTFIRST_BOOL`: Enable device
2269
+ * feature drawIndirectFirstInstance. If disabled, the argument
2270
+ * first_instance of SDL_GPUIndirectDrawCommand must be set to zero.
2271
+ * Defaults to true.
2272
+ * - `SDL_PROP_GPU_DEVICE_CREATE_VULKAN_SAMPLERANISOTROPY_BOOL`: Enable device
2273
+ * feature samplerAnisotropy. If disabled, enable_anisotropy of
2274
+ * SDL_GPUSamplerCreateInfo must be set to false. Defaults to true.
2272
2275
*
2273
2276
* \param props the properties to use.
2274
2277
* \returns a GPU context on success or NULL on failure; call SDL_GetError()
0 commit comments