GPU: Fix static compilation errors

- Missing explicit cast to `int` for bitwise operator.
- UBO struct member macro colision. Rename fixes it.
This commit is contained in:
2022-12-09 00:10:14 +01:00
parent c50e25c5f0
commit f898190362
4 changed files with 5 additions and 5 deletions

View File

@@ -54,7 +54,7 @@ struct GPUClipPlanes {
BLI_STATIC_ASSERT_ALIGN(struct GPUClipPlanes, 16)
struct SimpleLightingData {
float4 color;
float4 l_color;
float3 light;
float _pad;
};