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:
2026-03-20 18:00:30 +01:00
parent ea05e1eb2e
commit e46c3eb4ba
3 changed files with 6 additions and 1 deletions

View File

@@ -5,6 +5,7 @@
"includePath": [
"${workspaceFolder}/source",
"${workspaceFolder}/source/external",
"${workspaceFolder}/build/generated_shaders",
"${env:HOMEBREW_PREFIX}/include",
"/opt/homebrew/include"
],
@@ -25,6 +26,7 @@
"includePath": [
"${workspaceFolder}/source",
"${workspaceFolder}/source/external",
"${workspaceFolder}/build/generated_shaders",
"/usr/include",
"/usr/local/include"
],
@@ -41,6 +43,7 @@
"includePath": [
"${workspaceFolder}/source",
"${workspaceFolder}/source/external",
"${workspaceFolder}/build/generated_shaders",
"C:/mingw/include"
],
"defines": [

View File

@@ -1,2 +1,2 @@
// coffee.rc
IDI_ICON1 ICON "icon.ico"
IDI_ICON1 ICON "release/icons/icon.ico"

View File

@@ -15,6 +15,7 @@
#include "ball_vert_spv.h"
#endif
#ifdef __APPLE__
// ============================================================================
// MSL Shaders (Metal Shading Language, macOS)
// ============================================================================
@@ -197,6 +198,7 @@ vertex BallVOut ball_instanced_vs(BallInstance inst [[stage_in]],
return out;
}
)";
#endif // __APPLE__
// ============================================================================
// GpuPipeline implementation