Skip to content

compute shader noise example - bevy 0.11.3 #23

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
rust-gpu/target
rust-gpu/spirt-passes
bevy-app/target
bevy-app/crates/viewer/entry_points.json
bevy-app/crates/viewer/assets/rust-gpu/shader.rust-gpu.msgpack

*.dot
*.svg

Dockerfile
run-docker.sh
entrypoint.sh
rust-gpu/entrypoint.sh
3 changes: 0 additions & 3 deletions .gitmodules

This file was deleted.

19 changes: 19 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
FROM debian

RUN apt-get update -y && apt-get install -y build-essential wget curl pkg-config g++ pkg-config libx11-dev libasound2-dev \
libudev-dev libwayland-dev libxkbcommon-dev mesa-vulkan-drivers wget curl pkg-config \
&& wget https://sh.rustup.rs -O /tmp/rustup.sh && chmod +x /tmp/rustup.sh \
&& sh /tmp/rustup.sh -y --default-toolchain none --no-update-default-toolchain

RUN /root/.cargo/bin/rustup install nightly-2023-05-27
RUN /root/.cargo/bin/rustup override set nightly-2023-05-27-x86_64-unknown-linux-gnu
RUN /root/.cargo/bin/rustup component add rust-src rustc-dev llvm-tools-preview

RUN mkdir /docker-cargo-target
ENV CARGO_TARGET_DIR=/docker-cargo-target
ENV PATH="$PATH:/root/.cargo/bin"
WORKDIR /init-build
ADD . .
RUN bash -c "cd rust-gpu && cargo run --release -- crates/shader ../bevy-app/crates/viewer/assets/rust-gpu/shader.rust-gpu.msgpack"

WORKDIR /root/mnt/
Loading