diff options
Diffstat (limited to 'lib/mesa/src/gallium/drivers/freedreno/a2xx/fd2_texture.c')
-rw-r--r-- | lib/mesa/src/gallium/drivers/freedreno/a2xx/fd2_texture.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/mesa/src/gallium/drivers/freedreno/a2xx/fd2_texture.c b/lib/mesa/src/gallium/drivers/freedreno/a2xx/fd2_texture.c index 50b72e52c..1e98becd7 100644 --- a/lib/mesa/src/gallium/drivers/freedreno/a2xx/fd2_texture.c +++ b/lib/mesa/src/gallium/drivers/freedreno/a2xx/fd2_texture.c @@ -101,7 +101,7 @@ fd2_sampler_state_create(struct pipe_context *pctx, /* TODO * cso->max_anisotropy - * cso->normalized_coords (dealt with by shader for rect textures?) + * cso->unnormalized_coords (dealt with by shader for rect textures?) */ /* SQ_TEX0_PITCH() must be OR'd in later when we know the bound texture: */ @@ -146,7 +146,7 @@ tex_dimension(unsigned target) { switch (target) { default: - assert(0); + unreachable("Unsupported target"); case PIPE_TEXTURE_1D: assert(0); /* TODO */ return SQ_TEX_DIMENSION_1D; |