summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/si_state.h
diff options
context:
space:
mode:
authorChristian König <[email protected]>2012-07-25 11:22:59 +0200
committerChristian König <[email protected]>2012-07-30 14:45:32 +0200
commitb15e3ae5b423dd8846a35500c0274d1d74f6b836 (patch)
treef000ba4adbc88dc563aec43d3ae0ccbf4dc2571d /src/gallium/drivers/radeonsi/si_state.h
parentd51b9b70d581fe47370897ec517f229f1cea2903 (diff)
radeonsi: fix vertex buffer and elements
Let's just use the T# descriptors until we get a fetch shader. Signed-off-by: Christian König <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Reviewed-by: Michel Dänzer <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_state.h')
-rw-r--r--src/gallium/drivers/radeonsi/si_state.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/gallium/drivers/radeonsi/si_state.h b/src/gallium/drivers/radeonsi/si_state.h
index 0eecf2f5eab..fa1a8711b6e 100644
--- a/src/gallium/drivers/radeonsi/si_state.h
+++ b/src/gallium/drivers/radeonsi/si_state.h
@@ -63,8 +63,9 @@ struct si_state_dsa {
struct si_vertex_element
{
- unsigned count;
- struct pipe_vertex_element elements[PIPE_MAX_ATTRIBS];
+ unsigned count;
+ uint32_t rsrc_word3[PIPE_MAX_ATTRIBS];
+ struct pipe_vertex_element elements[PIPE_MAX_ATTRIBS];
};
struct si_shader_io {
@@ -157,10 +158,6 @@ union si_state {
} while(0);
/* si_state.c */
-uint32_t si_translate_vertexformat(struct pipe_screen *screen,
- enum pipe_format format,
- const struct util_format_description *desc,
- int first_non_void);
bool si_is_format_supported(struct pipe_screen *screen,
enum pipe_format format,
enum pipe_texture_target target,