mirror of
https://github.com/gfx-rs/wgpu.git
synced 2025-02-27 22:33:43 +00: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)),
|
|
),
|
|
)
|