Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Erik Faye-Lund
mesa
Commits
e6435c19
Commit
e6435c19
authored
Oct 27, 2020
by
Jesse Natalie
Committed by
Erik Faye-Lund
Oct 28, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
squash! microsoft/clc: Deal with alignment on derefs instead of intrinsics
Delete unintentionally left debugging code
parent
8921e776
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
src/microsoft/clc/clc_compiler.c
src/microsoft/clc/clc_compiler.c
+0
-4
No files found.
src/microsoft/clc/clc_compiler.c
View file @
e6435c19
...
@@ -1021,10 +1021,6 @@ split_unaligned_loads_stores(nir_shader *shader)
...
@@ -1021,10 +1021,6 @@ split_unaligned_loads_stores(nir_shader *shader)
unsigned
align_mul
=
0
,
align_offset
=
0
;
unsigned
align_mul
=
0
,
align_offset
=
0
;
nir_get_explicit_deref_align
(
deref
,
true
,
&
align_mul
,
&
align_offset
);
nir_get_explicit_deref_align
(
deref
,
true
,
&
align_mul
,
&
align_offset
);
if
(
align_mul
==
0
)
{
DebugBreak
();
nir_get_explicit_deref_align
(
deref
,
true
,
&
align_mul
,
&
align_offset
);
}
unsigned
alignment
=
align_offset
?
1
<<
(
ffs
(
align_offset
)
-
1
)
:
align_mul
;
unsigned
alignment
=
align_offset
?
1
<<
(
ffs
(
align_offset
)
-
1
)
:
align_mul
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment