Skip to content

Commit

Permalink
reject pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
sagudev committed Jul 7, 2024
1 parent 85573fd commit 680b7d6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ jobs:
persist-credentials: false
- uses: actions/setup-node@v2-beta
with:
node-version: "16.x"
node-version: '16.x'
- run: npm ci
- run: |
npm test
npm run standalone
mkdir deploy-build/
cp -r README.md src standalone out out-wpt docs tools deploy-build/
cp -r README.md src standalone out docs tools deploy-build/
- uses: JamesIves/[email protected]
with:
BRANCH: gh-pages
Expand Down
7 changes: 3 additions & 4 deletions src/webgpu/shader/execution/expression/expression.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1185,10 +1185,9 @@ async function buildPipeline(
const module = t.device.createShaderModule({ code: source });

// build the pipeline
const pipeline = await t.device.createComputePipelineAsync({
layout: 'auto',
compute: { module, entryPoint: 'main' },
});
const pipeline = await Promise.reject(
new GPUPipelineError('This is GPUPipelineError msg', { reason: 'validation' })
);

// build the bind group
const group = t.device.createBindGroup({
Expand Down

0 comments on commit 680b7d6

Please sign in to comment.