Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mesa
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Merge Requests
1
Merge Requests
1
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
virgl-es
mesa
Commits
c1ab2c32
Commit
c1ab2c32
authored
Aug 26, 2010
by
Marek Olšák
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
r300g: fix constant buffer upload once again for r3xx->r4xx
parent
fdf054a5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/gallium/drivers/r300/r300_emit.c
src/gallium/drivers/r300/r300_emit.c
+1
-1
No files found.
src/gallium/drivers/r300/r300_emit.c
View file @
c1ab2c32
...
...
@@ -182,7 +182,7 @@ void r300_emit_fs_constants(struct r300_context* r300, unsigned size, void *stat
OUT_CS_REG_SEQ
(
R300_PFS_PARAM_0_X
,
count
*
4
);
if
(
buf
->
remap_table
){
for
(
i
=
0
;
i
<
count
;
i
++
)
{
uint32_t
*
data
=
&
buf
->
ptr
[
buf
->
remap_table
[
i
]
*
4
];
float
*
data
=
(
float
*
)
&
buf
->
ptr
[
buf
->
remap_table
[
i
]
*
4
];
for
(
j
=
0
;
j
<
4
;
j
++
)
OUT_CS
(
pack_float24
(
data
[
j
]));
}
...
...
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