mirror of
https://github.com/Rezmason/matrix.git
synced 2026-04-14 12:29:30 -07:00
Moving bloomPass's pyramids off of mipmaps fixes its appearance in Firefox Nightly
This commit is contained in:
@@ -98,13 +98,6 @@ const make1DTexture = (device, rgbas) => {
|
||||
return texture;
|
||||
};
|
||||
|
||||
const makePyramidView = (texture, level) =>
|
||||
texture.createView({
|
||||
baseMipLevel: level,
|
||||
mipLevelCount: 1,
|
||||
dimension: "2d",
|
||||
});
|
||||
|
||||
const makeBindGroup = (device, pipeline, index, entries) =>
|
||||
device.createBindGroup({
|
||||
layout: pipeline.getBindGroupLayout(index),
|
||||
@@ -129,7 +122,6 @@ export {
|
||||
makeRenderTarget,
|
||||
makeComputeTarget,
|
||||
make1DTexture,
|
||||
makePyramidView,
|
||||
loadTexture,
|
||||
loadShader,
|
||||
makeUniformBuffer,
|
||||
|
||||
Reference in New Issue
Block a user