Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
mesa
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1,902
Issues
1,902
List
Boards
Labels
Milestones
Merge Requests
316
Merge Requests
316
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Container Registry
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Mesa
mesa
Commits
f208b04d
Commit
f208b04d
authored
Aug 20, 2019
by
Marek Olšák
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
radeonsi/gfx10: don't initialize VGT_INSTANCE_STEP_RATE_0
Only gfx9 and older use it to get InstanceID in VGPR1.
parent
c0716446
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
src/gallium/drivers/radeonsi/si_state.c
src/gallium/drivers/radeonsi/si_state.c
+2
-1
No files found.
src/gallium/drivers/radeonsi/si_state.c
View file @
f208b04d
...
...
@@ -5436,7 +5436,8 @@ static void si_init_config(struct si_context *sctx)
si_pm4_set_reg
(
pm4
,
R_028B98_VGT_STRMOUT_BUFFER_CONFIG
,
0x0
);
}
si_pm4_set_reg
(
pm4
,
R_028AA0_VGT_INSTANCE_STEP_RATE_0
,
1
);
if
(
sscreen
->
info
.
chip_class
<=
GFX9
)
si_pm4_set_reg
(
pm4
,
R_028AA0_VGT_INSTANCE_STEP_RATE_0
,
1
);
if
(
!
has_clear_state
)
si_pm4_set_reg
(
pm4
,
R_028AB8_VGT_VTX_CNT_EN
,
0x0
);
if
(
sctx
->
chip_class
<
GFX7
)
...
...
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