fix: ajustes de rutas y guards en vscode, rc y gpu_pipeline
- c_cpp_properties.json: añadir build/generated_shaders a includePath - vibe3.rc: corregir ruta del icono a release/icons/icon.ico - gpu_pipeline.cpp: envolver shaders MSL con guard #ifdef __APPLE__ Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
3
.vscode/c_cpp_properties.json
vendored
3
.vscode/c_cpp_properties.json
vendored
@@ -5,6 +5,7 @@
|
|||||||
"includePath": [
|
"includePath": [
|
||||||
"${workspaceFolder}/source",
|
"${workspaceFolder}/source",
|
||||||
"${workspaceFolder}/source/external",
|
"${workspaceFolder}/source/external",
|
||||||
|
"${workspaceFolder}/build/generated_shaders",
|
||||||
"${env:HOMEBREW_PREFIX}/include",
|
"${env:HOMEBREW_PREFIX}/include",
|
||||||
"/opt/homebrew/include"
|
"/opt/homebrew/include"
|
||||||
],
|
],
|
||||||
@@ -25,6 +26,7 @@
|
|||||||
"includePath": [
|
"includePath": [
|
||||||
"${workspaceFolder}/source",
|
"${workspaceFolder}/source",
|
||||||
"${workspaceFolder}/source/external",
|
"${workspaceFolder}/source/external",
|
||||||
|
"${workspaceFolder}/build/generated_shaders",
|
||||||
"/usr/include",
|
"/usr/include",
|
||||||
"/usr/local/include"
|
"/usr/local/include"
|
||||||
],
|
],
|
||||||
@@ -41,6 +43,7 @@
|
|||||||
"includePath": [
|
"includePath": [
|
||||||
"${workspaceFolder}/source",
|
"${workspaceFolder}/source",
|
||||||
"${workspaceFolder}/source/external",
|
"${workspaceFolder}/source/external",
|
||||||
|
"${workspaceFolder}/build/generated_shaders",
|
||||||
"C:/mingw/include"
|
"C:/mingw/include"
|
||||||
],
|
],
|
||||||
"defines": [
|
"defines": [
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
// coffee.rc
|
// coffee.rc
|
||||||
IDI_ICON1 ICON "icon.ico"
|
IDI_ICON1 ICON "release/icons/icon.ico"
|
||||||
|
|||||||
@@ -15,6 +15,7 @@
|
|||||||
#include "ball_vert_spv.h"
|
#include "ball_vert_spv.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef __APPLE__
|
||||||
// ============================================================================
|
// ============================================================================
|
||||||
// MSL Shaders (Metal Shading Language, macOS)
|
// MSL Shaders (Metal Shading Language, macOS)
|
||||||
// ============================================================================
|
// ============================================================================
|
||||||
@@ -197,6 +198,7 @@ vertex BallVOut ball_instanced_vs(BallInstance inst [[stage_in]],
|
|||||||
return out;
|
return out;
|
||||||
}
|
}
|
||||||
)";
|
)";
|
||||||
|
#endif // __APPLE__
|
||||||
|
|
||||||
// ============================================================================
|
// ============================================================================
|
||||||
// GpuPipeline implementation
|
// GpuPipeline implementation
|
||||||
|
|||||||
Reference in New Issue
Block a user