Write a sinple random number generator for compute shader in wgsl, use frame count and…
- User
Write a sinple random number generator for compute shader in wgsl, use frame count and the x component of the invocation id as input.
Assistant
Here's a simple random number generator for a WGSL compute shader:
wgsl
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.