mirror of
https://github.com/gfx-rs/wgpu.git
synced 2025-02-21 11:22:42 +00:00
[glsl-out] Set precision for image type
This commit is contained in:
parent
50e5904add
commit
d1c47d1705
@ -669,7 +669,7 @@ impl<'a, W: Write> Writer<'a, W> {
|
||||
|
||||
write!(
|
||||
self.out,
|
||||
"{}{}{}{}{}{}",
|
||||
"highp {}{}{}{}{}{}",
|
||||
glsl_scalar(kind, 4)?.prefix,
|
||||
base,
|
||||
glsl_dimension(dim),
|
||||
|
@ -8,7 +8,7 @@ precision highp float;
|
||||
|
||||
in vec2 _location_0_vs;
|
||||
|
||||
uniform sampler2D _group_0_binding_0;
|
||||
uniform highp sampler2D _group_0_binding_0;
|
||||
|
||||
out vec4 _location_0;
|
||||
|
||||
|
@ -11,7 +11,7 @@ struct Data {
|
||||
mat4x4 view;
|
||||
};
|
||||
|
||||
uniform samplerCube _group_0_binding_1;
|
||||
uniform highp samplerCube _group_0_binding_1;
|
||||
|
||||
in vec3 _location_0_vs;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user