summaryrefslogtreecommitdiff
path: root/lib/mesa/src/gallium/drivers/freedreno/a2xx/fd2_texture.c
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2023-01-28 08:56:54 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2023-01-28 08:56:54 +0000
commitd305570c9b1fd87c4acdec589761cfa39fd04a3b (patch)
treee340315dd9d6966ccc3a48aa7a845e2213e40e62 /lib/mesa/src/gallium/drivers/freedreno/a2xx/fd2_texture.c
parent1c5c7896c1d54abd25c0f33ca996165b359eecb3 (diff)
Merge Mesa 22.3.4
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.c4
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;