diff options
Diffstat (limited to 'src/mesa/swrast')
-rw-r--r-- | src/mesa/swrast/s_texfetch.c | 1 | ||||
-rw-r--r-- | src/mesa/swrast/s_texfetch_tmp.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/swrast/s_texfetch.c b/src/mesa/swrast/s_texfetch.c index fec8728a7a1..e8f4eb598a5 100644 --- a/src/mesa/swrast/s_texfetch.c +++ b/src/mesa/swrast/s_texfetch.c @@ -257,6 +257,7 @@ texfetch_funcs[] = FETCH_FUNCS(A8L8_SRGB), /* Array sRGB formats */ + FETCH_FUNCS(R_SRGB8), FETCH_FUNCS(L_SRGB8), FETCH_FUNCS(BGR_SRGB8), diff --git a/src/mesa/swrast/s_texfetch_tmp.h b/src/mesa/swrast/s_texfetch_tmp.h index 45bd8395048..8261ebf46ef 100644 --- a/src/mesa/swrast/s_texfetch_tmp.h +++ b/src/mesa/swrast/s_texfetch_tmp.h @@ -153,6 +153,7 @@ FETCH_RGBA(A8R8G8B8_SRGB, GLuint, 1) FETCH_RGBA(R8G8B8A8_SRGB, GLuint, 1) FETCH_RGBA(R8G8B8X8_SRGB, GLuint, 1) FETCH_RGBA(X8B8G8R8_SRGB, GLuint, 1) +FETCH_RGBA(R_SRGB8, GLubyte, 1) FETCH_RGBA(L_SRGB8, GLubyte, 1) FETCH_RGBA(L8A8_SRGB, GLushort, 1) FETCH_RGBA(A8L8_SRGB, GLushort, 2) |