/dports/misc/mnn/MNN-1.2.0/source/backend/opengl/glsl/ |
H A D | image_to_nchw_buffer.glsl | 8 layout(location = 3) uniform int uHeight; 15 if (pos.x < uWidth && pos.y < uHeight) 19 uOutBuffer.data[uWidth*pos.y+pos.x+(z+0)*uWidth*uHeight] = color.r; 20 uOutBuffer.data[uWidth*pos.y+pos.x+(z+1)*uWidth*uHeight] = color.g; 21 uOutBuffer.data[uWidth*pos.y+pos.x+(z+2)*uWidth*uHeight] = color.b; 22 uOutBuffer.data[uWidth*pos.y+pos.x+(z+3)*uWidth*uHeight] = color.a;
|
H A D | nchw_buffer_to_image.glsl | 8 layout(location = 3) uniform int uHeight; 15 if (pos.x < uWidth && pos.y < uHeight) 19 color.r = uInBuffer.data[uWidth*pos.y+pos.x+(z+0)*uWidth*uHeight]; 20 color.g = uInBuffer.data[uWidth*pos.y+pos.x+(z+1)*uWidth*uHeight]; 21 color.b = uInBuffer.data[uWidth*pos.y+pos.x+(z+2)*uWidth*uHeight]; 22 color.a = uInBuffer.data[uWidth*pos.y+pos.x+(z+3)*uWidth*uHeight];
|
/dports/games/retroarch/RetroArch-1.9.7/deps/SPIRV-Cross/reference/opt/shaders/comp/ |
H A D | bake_gradient.comp | 10 layout(binding = 0) uniform mediump sampler2D uHeight; 23 imageStore(iHeightDisplacement, _172, vec4(textureLod(uHeight, _67, 0.0).x, 0.0, 0.0, 0.0)); 24 …uHeight, _67, 0.0, ivec2(1, 0)).x - textureLodOffset(uHeight, _67, 0.0, ivec2(-1, 0)).x, textureLo…
|
/dports/emulators/ppsspp-qt5/ppsspp-1.12.3/ext/SPIRV-Cross/reference/opt/shaders/comp/ |
H A D | bake_gradient.comp | 10 layout(binding = 0) uniform mediump sampler2D uHeight; 23 imageStore(iHeightDisplacement, _172, vec4(textureLod(uHeight, _67, 0.0).x, 0.0, 0.0, 0.0)); 24 …uHeight, _67, 0.0, ivec2(1, 0)).x - textureLodOffset(uHeight, _67, 0.0, ivec2(-1, 0)).x, textureLo…
|
/dports/emulators/ppsspp/ppsspp-1.12.3/ext/SPIRV-Cross/reference/opt/shaders/comp/ |
H A D | bake_gradient.comp | 10 layout(binding = 0) uniform mediump sampler2D uHeight; 23 imageStore(iHeightDisplacement, _172, vec4(textureLod(uHeight, _67, 0.0).x, 0.0, 0.0, 0.0)); 24 …uHeight, _67, 0.0, ivec2(1, 0)).x - textureLodOffset(uHeight, _67, 0.0, ivec2(-1, 0)).x, textureLo…
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/spirv-cross/spirv-cross/reference/opt/shaders/comp/ |
H A D | bake_gradient.comp | 10 layout(binding = 0) uniform mediump sampler2D uHeight; 23 imageStore(iHeightDisplacement, _172, vec4(textureLod(uHeight, _67, 0.0).x, 0.0, 0.0, 0.0)); 24 …uHeight, _67, 0.0, ivec2(1, 0)).x - textureLodOffset(uHeight, _67, 0.0, ivec2(-1, 0)).x, textureLo…
|
/dports/emulators/mess/mame-mame0226/3rdparty/bgfx/3rdparty/spirv-cross/reference/opt/shaders/comp/ |
H A D | bake_gradient.comp | 10 layout(binding = 0) uniform mediump sampler2D uHeight; 23 imageStore(iHeightDisplacement, _172, vec4(textureLod(uHeight, _67, 0.0).x, 0.0, 0.0, 0.0)); 24 …uHeight, _67, 0.0, ivec2(1, 0)).x - textureLodOffset(uHeight, _67, 0.0, ivec2(-1, 0)).x, textureLo…
|
/dports/emulators/mame/mame-mame0226/3rdparty/bgfx/3rdparty/spirv-cross/reference/opt/shaders/comp/ |
H A D | bake_gradient.comp | 10 layout(binding = 0) uniform mediump sampler2D uHeight; 23 imageStore(iHeightDisplacement, _172, vec4(textureLod(uHeight, _67, 0.0).x, 0.0, 0.0, 0.0)); 24 …uHeight, _67, 0.0, ivec2(1, 0)).x - textureLodOffset(uHeight, _67, 0.0, ivec2(-1, 0)).x, textureLo…
|
/dports/emulators/libretro-ppsspp/ppsspp-1.12.3/ext/SPIRV-Cross/reference/opt/shaders/comp/ |
H A D | bake_gradient.comp | 10 layout(binding = 0) uniform mediump sampler2D uHeight; 23 imageStore(iHeightDisplacement, _172, vec4(textureLod(uHeight, _67, 0.0).x, 0.0, 0.0, 0.0)); 24 …uHeight, _67, 0.0, ivec2(1, 0)).x - textureLodOffset(uHeight, _67, 0.0, ivec2(-1, 0)).x, textureLo…
|
/dports/graphics/rx/rx-0.4.0/cargo-crates/spirv_cross-0.16.0/src/vendor/SPIRV-Cross/reference/opt/shaders/comp/ |
H A D | bake_gradient.comp | 10 layout(binding = 0) uniform mediump sampler2D uHeight; 23 imageStore(iHeightDisplacement, _172, vec4(textureLod(uHeight, _67, 0.0).x, 0.0, 0.0, 0.0)); 24 …uHeight, _67, 0.0, ivec2(1, 0)).x - textureLodOffset(uHeight, _67, 0.0, ivec2(-1, 0)).x, textureLo…
|
/dports/games/retroarch/RetroArch-1.9.7/deps/SPIRV-Cross/reference/shaders/comp/ |
H A D | bake_gradient.comp | 10 layout(binding = 0) uniform mediump sampler2D uHeight; 23 float h = textureLod(uHeight, uv.xy, 0.0).x; 24 float x0 = textureLodOffset(uHeight, uv.xy, 0.0, ivec2(-1, 0)).x; 25 float x1 = textureLodOffset(uHeight, uv.xy, 0.0, ivec2(1, 0)).x; 26 float y0 = textureLodOffset(uHeight, uv.xy, 0.0, ivec2(0, -1)).x; 27 float y1 = textureLodOffset(uHeight, uv.xy, 0.0, ivec2(0, 1)).x;
|
/dports/emulators/ppsspp-qt5/ppsspp-1.12.3/ext/SPIRV-Cross/reference/shaders/comp/ |
H A D | bake_gradient.comp | 10 layout(binding = 0) uniform mediump sampler2D uHeight; 23 float h = textureLod(uHeight, uv.xy, 0.0).x; 24 float x0 = textureLodOffset(uHeight, uv.xy, 0.0, ivec2(-1, 0)).x; 25 float x1 = textureLodOffset(uHeight, uv.xy, 0.0, ivec2(1, 0)).x; 26 float y0 = textureLodOffset(uHeight, uv.xy, 0.0, ivec2(0, -1)).x; 27 float y1 = textureLodOffset(uHeight, uv.xy, 0.0, ivec2(0, 1)).x;
|
/dports/emulators/ppsspp/ppsspp-1.12.3/ext/SPIRV-Cross/reference/shaders/comp/ |
H A D | bake_gradient.comp | 10 layout(binding = 0) uniform mediump sampler2D uHeight; 23 float h = textureLod(uHeight, uv.xy, 0.0).x; 24 float x0 = textureLodOffset(uHeight, uv.xy, 0.0, ivec2(-1, 0)).x; 25 float x1 = textureLodOffset(uHeight, uv.xy, 0.0, ivec2(1, 0)).x; 26 float y0 = textureLodOffset(uHeight, uv.xy, 0.0, ivec2(0, -1)).x; 27 float y1 = textureLodOffset(uHeight, uv.xy, 0.0, ivec2(0, 1)).x;
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/spirv-cross/spirv-cross/reference/shaders/comp/ |
H A D | bake_gradient.comp | 10 layout(binding = 0) uniform mediump sampler2D uHeight; 23 float h = textureLod(uHeight, uv.xy, 0.0).x; 24 float x0 = textureLodOffset(uHeight, uv.xy, 0.0, ivec2(-1, 0)).x; 25 float x1 = textureLodOffset(uHeight, uv.xy, 0.0, ivec2(1, 0)).x; 26 float y0 = textureLodOffset(uHeight, uv.xy, 0.0, ivec2(0, -1)).x; 27 float y1 = textureLodOffset(uHeight, uv.xy, 0.0, ivec2(0, 1)).x;
|
/dports/emulators/mess/mame-mame0226/3rdparty/bgfx/3rdparty/spirv-cross/reference/shaders/comp/ |
H A D | bake_gradient.comp | 10 layout(binding = 0) uniform mediump sampler2D uHeight; 23 float h = textureLod(uHeight, uv.xy, 0.0).x; 24 float x0 = textureLodOffset(uHeight, uv.xy, 0.0, ivec2(-1, 0)).x; 25 float x1 = textureLodOffset(uHeight, uv.xy, 0.0, ivec2(1, 0)).x; 26 float y0 = textureLodOffset(uHeight, uv.xy, 0.0, ivec2(0, -1)).x; 27 float y1 = textureLodOffset(uHeight, uv.xy, 0.0, ivec2(0, 1)).x;
|
/dports/emulators/mame/mame-mame0226/3rdparty/bgfx/3rdparty/spirv-cross/reference/shaders/comp/ |
H A D | bake_gradient.comp | 10 layout(binding = 0) uniform mediump sampler2D uHeight; 23 float h = textureLod(uHeight, uv.xy, 0.0).x; 24 float x0 = textureLodOffset(uHeight, uv.xy, 0.0, ivec2(-1, 0)).x; 25 float x1 = textureLodOffset(uHeight, uv.xy, 0.0, ivec2(1, 0)).x; 26 float y0 = textureLodOffset(uHeight, uv.xy, 0.0, ivec2(0, -1)).x; 27 float y1 = textureLodOffset(uHeight, uv.xy, 0.0, ivec2(0, 1)).x;
|
/dports/emulators/libretro-ppsspp/ppsspp-1.12.3/ext/SPIRV-Cross/reference/shaders/comp/ |
H A D | bake_gradient.comp | 10 layout(binding = 0) uniform mediump sampler2D uHeight; 23 float h = textureLod(uHeight, uv.xy, 0.0).x; 24 float x0 = textureLodOffset(uHeight, uv.xy, 0.0, ivec2(-1, 0)).x; 25 float x1 = textureLodOffset(uHeight, uv.xy, 0.0, ivec2(1, 0)).x; 26 float y0 = textureLodOffset(uHeight, uv.xy, 0.0, ivec2(0, -1)).x; 27 float y1 = textureLodOffset(uHeight, uv.xy, 0.0, ivec2(0, 1)).x;
|
/dports/graphics/rx/rx-0.4.0/cargo-crates/spirv_cross-0.16.0/src/vendor/SPIRV-Cross/reference/shaders/comp/ |
H A D | bake_gradient.comp | 10 layout(binding = 0) uniform mediump sampler2D uHeight; 23 float h = textureLod(uHeight, uv.xy, 0.0).x; 24 float x0 = textureLodOffset(uHeight, uv.xy, 0.0, ivec2(-1, 0)).x; 25 float x1 = textureLodOffset(uHeight, uv.xy, 0.0, ivec2(1, 0)).x; 26 float y0 = textureLodOffset(uHeight, uv.xy, 0.0, ivec2(0, -1)).x; 27 float y1 = textureLodOffset(uHeight, uv.xy, 0.0, ivec2(0, 1)).x;
|
/dports/games/retroarch/RetroArch-1.9.7/deps/SPIRV-Cross/shaders/comp/ |
H A D | bake_gradient.comp | 5 layout(binding = 0) uniform sampler2D uHeight; 26 float h = textureLod(uHeight, uv.xy, 0.0).x; 29 float x0 = textureLodOffset(uHeight, uv.xy, 0.0, ivec2(-1, 0)).x; 30 float x1 = textureLodOffset(uHeight, uv.xy, 0.0, ivec2(+1, 0)).x; 31 float y0 = textureLodOffset(uHeight, uv.xy, 0.0, ivec2(0, -1)).x; 32 float y1 = textureLodOffset(uHeight, uv.xy, 0.0, ivec2(0, +1)).x;
|
/dports/emulators/ppsspp-qt5/ppsspp-1.12.3/ext/SPIRV-Cross/shaders/comp/ |
H A D | bake_gradient.comp | 5 layout(binding = 0) uniform sampler2D uHeight; 26 float h = textureLod(uHeight, uv.xy, 0.0).x; 29 float x0 = textureLodOffset(uHeight, uv.xy, 0.0, ivec2(-1, 0)).x; 30 float x1 = textureLodOffset(uHeight, uv.xy, 0.0, ivec2(+1, 0)).x; 31 float y0 = textureLodOffset(uHeight, uv.xy, 0.0, ivec2(0, -1)).x; 32 float y1 = textureLodOffset(uHeight, uv.xy, 0.0, ivec2(0, +1)).x;
|
/dports/emulators/ppsspp/ppsspp-1.12.3/ext/SPIRV-Cross/shaders/comp/ |
H A D | bake_gradient.comp | 5 layout(binding = 0) uniform sampler2D uHeight; 26 float h = textureLod(uHeight, uv.xy, 0.0).x; 29 float x0 = textureLodOffset(uHeight, uv.xy, 0.0, ivec2(-1, 0)).x; 30 float x1 = textureLodOffset(uHeight, uv.xy, 0.0, ivec2(+1, 0)).x; 31 float y0 = textureLodOffset(uHeight, uv.xy, 0.0, ivec2(0, -1)).x; 32 float y1 = textureLodOffset(uHeight, uv.xy, 0.0, ivec2(0, +1)).x;
|
/dports/emulators/mess/mame-mame0226/3rdparty/bgfx/3rdparty/spirv-cross/shaders/comp/ |
H A D | bake_gradient.comp | 5 layout(binding = 0) uniform sampler2D uHeight; 26 float h = textureLod(uHeight, uv.xy, 0.0).x; 29 float x0 = textureLodOffset(uHeight, uv.xy, 0.0, ivec2(-1, 0)).x; 30 float x1 = textureLodOffset(uHeight, uv.xy, 0.0, ivec2(+1, 0)).x; 31 float y0 = textureLodOffset(uHeight, uv.xy, 0.0, ivec2(0, -1)).x; 32 float y1 = textureLodOffset(uHeight, uv.xy, 0.0, ivec2(0, +1)).x;
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/spirv-cross/spirv-cross/shaders/comp/ |
H A D | bake_gradient.comp | 5 layout(binding = 0) uniform sampler2D uHeight; 26 float h = textureLod(uHeight, uv.xy, 0.0).x; 29 float x0 = textureLodOffset(uHeight, uv.xy, 0.0, ivec2(-1, 0)).x; 30 float x1 = textureLodOffset(uHeight, uv.xy, 0.0, ivec2(+1, 0)).x; 31 float y0 = textureLodOffset(uHeight, uv.xy, 0.0, ivec2(0, -1)).x; 32 float y1 = textureLodOffset(uHeight, uv.xy, 0.0, ivec2(0, +1)).x;
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/spirv-cross/spirv-cross/shaders/comp/ |
H A D | bake_gradient.comp | 5 layout(binding = 0) uniform sampler2D uHeight; 26 float h = textureLod(uHeight, uv.xy, 0.0).x; 29 float x0 = textureLodOffset(uHeight, uv.xy, 0.0, ivec2(-1, 0)).x; 30 float x1 = textureLodOffset(uHeight, uv.xy, 0.0, ivec2(+1, 0)).x; 31 float y0 = textureLodOffset(uHeight, uv.xy, 0.0, ivec2(0, -1)).x; 32 float y1 = textureLodOffset(uHeight, uv.xy, 0.0, ivec2(0, +1)).x;
|
/dports/emulators/mame/mame-mame0226/3rdparty/bgfx/3rdparty/spirv-cross/shaders/comp/ |
H A D | bake_gradient.comp | 5 layout(binding = 0) uniform sampler2D uHeight; 26 float h = textureLod(uHeight, uv.xy, 0.0).x; 29 float x0 = textureLodOffset(uHeight, uv.xy, 0.0, ivec2(-1, 0)).x; 30 float x1 = textureLodOffset(uHeight, uv.xy, 0.0, ivec2(+1, 0)).x; 31 float y0 = textureLodOffset(uHeight, uv.xy, 0.0, ivec2(0, -1)).x; 32 float y1 = textureLodOffset(uHeight, uv.xy, 0.0, ivec2(0, +1)).x;
|