mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-20 06:21:13 +01:00
Push constants need to be configured by the consumer which must pass the bind target of the constant buffer used for the push constants.
19 lines
343 B
Plaintext
19 lines
343 B
Plaintext
(
|
|
god_mode: true,
|
|
glsl: (
|
|
version: Embedded(
|
|
version: 320,
|
|
is_webgl: false
|
|
),
|
|
writer_flags: (bits: 0),
|
|
binding_map: {},
|
|
),
|
|
hlsl: (
|
|
shader_model: V5_1,
|
|
binding_map: {},
|
|
fake_missing_bindings: true,
|
|
special_constants_binding: Some((space: 1, register: 0)),
|
|
push_constants_target: Some((space: 0, register: 0)),
|
|
),
|
|
)
|