-
Trying to compile generated shader code and got this error:
```
@"[mvk-error] VK_ERROR_INITIALIZATION_FAILED: Shader library compile failed (Error code 3):\r\n"
@"Compilation failed: \r\n"
@"\r\n…
-
CompilerTest.HlslFunctionality1Enabled in this test suite is failing, because the third_party/spirv-tools has not been rolled to pick up the SPIR-V 1.4 changes yet, but the test expectations were upda…
-
SPIR-V conversion to MSL fails to create pointer to uniform struct that contains empty structs:
```
struct _19
{
};
struct _5
{
int _m0;
char _m1_pad[12];
_19 _m1;
char _m2…
-
When I run the following command under MoltenVK (with option -- Disable validation layers) for the amber-file below, I get:
`amber -d -t spv1.3 -v 1.1 test_0_2417849846392727996.amber`
```
[mvk…
-
GLSL does not differentiate between depth textures and float textures, while WGSL does. Currently, a `texture2D` converts to a Sampled, and there's no way to declare a Depth texture AFAICT.
There's…
-
The following GLSL function:
```glsl
float pcfForShadow(vec3 pixelWorldPos, mat4 lightViewProj, sampler shadowSampler, texture2D t_depthshadow){
vec4 sampledPos = vec4(pixelWorldPos,1);
sampledP…
-
Minimal GLSL example:
```glsl
#version 450
#define BUFFER_SIZE 16
uniform float radius[BUFFER_SIZE];
out vec4 fragColor;
void main() {
fragColor = vec4(radius[1], radius[1], radius[1],…
-
Xcode 11 (11A419c), macOS Catalina Beta 8? (19A573a). Macbook Pro 2015, 16gb ram, 512gb SSD with 82 gb free.
1) I clone the current moltenvk repo as a subrepo.
2) I cd into moltenvk and run ./fetc…
-
It would be nice if spirv-cross would emulate packing functions (like packHalf2x16) if glsl doesn't support them. Google angle project do that (BuiltInFunctionEmulatorGLSL.cpp).
-
In order to speed up BRN builds, I want to evaluate the feasibility of having (some) prebuilt libraries of BabylonNative.
As discussed with @bghgary , because of JS engine, it won't be possible to pr…