mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 09:08:10 +02:00
cso: remove / add some comments
Signed-off-by: Brian Paul <brianp@vmware.com>
This commit is contained in:
parent
18260d0582
commit
5888c47cc9
1 changed files with 4 additions and 6 deletions
|
|
@ -51,8 +51,7 @@
|
|||
|
||||
|
||||
/**
|
||||
* Info related to samplers and sampler views.
|
||||
* We have one of these for fragment samplers and another for vertex samplers.
|
||||
* Per-shader sampler information.
|
||||
*/
|
||||
struct sampler_info
|
||||
{
|
||||
|
|
@ -1154,7 +1153,6 @@ unsigned cso_get_aux_vertex_buffer_slot(struct cso_context *ctx)
|
|||
}
|
||||
|
||||
|
||||
/**************** fragment/vertex sampler view state *************************/
|
||||
|
||||
enum pipe_error
|
||||
cso_single_sampler(struct cso_context *ctx, unsigned shader_stage,
|
||||
|
|
@ -1199,6 +1197,9 @@ cso_single_sampler(struct cso_context *ctx, unsigned shader_stage,
|
|||
}
|
||||
|
||||
|
||||
/**
|
||||
* Send staged sampler state to the driver.
|
||||
*/
|
||||
void
|
||||
cso_single_sampler_done(struct cso_context *ctx, unsigned shader_stage)
|
||||
{
|
||||
|
|
@ -1234,9 +1235,6 @@ cso_set_samplers(struct cso_context *ctx,
|
|||
unsigned i;
|
||||
enum pipe_error temp, error = PIPE_OK;
|
||||
|
||||
/* TODO: fastpath
|
||||
*/
|
||||
|
||||
for (i = 0; i < nr; i++) {
|
||||
temp = cso_single_sampler(ctx, shader_stage, i, templates[i]);
|
||||
if (temp != PIPE_OK)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue