0115f356eec22b30a78847ac47caebae4c436b68 |
|
18-Aug-2016 |
Ian Romanick <ian.d.romanick@intel.com> |
nouveau: Enable EXT_texture_env_dot3 on NV10 and NV20 GL_DOT3_RGB_EXT and GL_DOT3_RGBA_EXT. are nearly identical to GL_DOT3_RGB and GL_DOT3_RGBA. The only difference is the _EXT versions do not apply the post-scale. Just smash logscale to 0 so that RC_OUT_SCALE_1 is always used. NOTE: I have not actually tested this. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Acked-by: Ilia Mirkin <imirkin@alum.mit.edu>
/external/mesa3d/src/mesa/drivers/dri/nouveau/nv10_state_frag.c
|
a7d92c3c0b0df1a5e8be3f8208868828043ab630 |
|
18-Aug-2016 |
Ian Romanick <ian.d.romanick@intel.com> |
nouveau: Fix non-1x post-scale factor with DOT3 combiner Fixes long standing bug on NV10 and NV20 where using a non-1x RGB or A post-scale with GL_DOT3_RGB or GL_DOT3_RGBA texture environment would not work. The old combiner math uses HALF_BIAS_NORMAL and HALF_BIAS_NEGATE. The GL_NV_register_combiners defines these as HALF_BIAS_NORMAL_NV max(0.0, e) - 0.5 HALF_BIAS_NEGATE_NV -max(0.0, e) + 0.5 In order to get the correct result from the dot-product, the intermediate dot-product must be multiplied by 4. This is a literal implementation of the GL_ARB_texture_env_dot3 spec. It also requires using the register combiner post-scale. As a result, the post-scale cannot be used for the post-scale set by the application. The new combiner math uses EXPAND_NORMAL and EXPAND_NEGATE. The GL_NV_register_combiners defines these as EXPAND_NORMAL_NV 2.0 * max(0.0, e) - 1.0 EXPAND_NEGATE_NV -2.0 * max(0.0, e) + 1.0 Since this fully expands the value to [-1, 1] range, the intermediate dot-product result is the desired value. This leaves the register combiner post-scale available for application use. NOTE: I have not actually tested this. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Acked-by: Ilia Mirkin <imirkin@alum.mit.edu>
/external/mesa3d/src/mesa/drivers/dri/nouveau/nv10_state_frag.c
|
ff9c3e8e5a22597c83505479e918981377f8fdf4 |
|
24-Apr-2014 |
Eric Anholt <eric@anholt.net> |
mesa: Replace use of _ReallyEnabled as a boolean with use of _Current. I'm probably not the only person that has tried to kill _ReallyEnabled. This does the mechanical part of the work, and cleans _ReallyEnabled from i965. I think that using _Current makes texture management clearer: You can't have multiple targets in use in the same texture image unit at the same time, because there's just that one pointer. Reviewed-by: Matt Turner <mattst88@gmail.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/drivers/dri/nouveau/nv10_state_frag.c
|
c703658b3965bf2e4f3593a0d54be03e8e8b1436 |
|
24-Apr-2014 |
Eric Anholt <eric@anholt.net> |
mesa: Drop _EnabledUnits. The field wasn't really valid, since we've got more than 32 units now. It turns out it was mostly just used for checking != 0, or checking for fixed function coordinates, though. v2: Fix mis-conversion in xm_line.c (caught by Ken). Reviewed-by: Matt Turner <mattst88@gmail.com> (v1) Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/drivers/dri/nouveau/nv10_state_frag.c
|
50a01d2acafb2a937e62b24258e2e777c0cd1489 |
|
21-Jan-2014 |
Mark Mueller <MarkKMueller@gmail.com> |
mesa: Change many Type A MESA_FORMATs to meet naming standard Update comments. Conversion of the following Type A formats: s/MESA_FORMAT_RGB888\b/MESA_FORMAT_BGR_UNORM8/g s/MESA_FORMAT_BGR888\b/MESA_FORMAT_RGB_UNORM8/g s/MESA_FORMAT_A8\b/MESA_FORMAT_A_UNORM8/g s/MESA_FORMAT_A16\b/MESA_FORMAT_A_UNORM16/g s/MESA_FORMAT_L8\b/MESA_FORMAT_L_UNORM8/g s/MESA_FORMAT_L16\b/MESA_FORMAT_L_UNORM16/g s/MESA_FORMAT_I8\b/MESA_FORMAT_I_UNORM8/g s/MESA_FORMAT_I16\b/MESA_FORMAT_I_UNORM16/g s/MESA_FORMAT_R8\b/MESA_FORMAT_R_UNORM8/g s/MESA_FORMAT_R16\b/MESA_FORMAT_R_UNORM16/g s/MESA_FORMAT_Z16\b/MESA_FORMAT_Z_UNORM16/g s/MESA_FORMAT_Z32\b/MESA_FORMAT_Z_UNORM32/g s/MESA_FORMAT_S8\b/MESA_FORMAT_S_UINT8/g s/MESA_FORMAT_SRGB8\b/MESA_FORMAT_BGR_SRGB8/g s/MESA_FORMAT_RGBA_16\b/MESA_FORMAT_RGBA_UNORM16/g s/MESA_FORMAT_SL8\b/MESA_FORMAT_L_SRGB8/g s/MESA_FORMAT_Z32_FLOAT\b/MESA_FORMAT_Z_FLOAT32/g s/MESA_FORMAT_XBGR16161616_UNORM\b/MESA_FORMAT_RGBX_UNORM16/g s/MESA_FORMAT_XBGR16161616_SNORM\b/MESA_FORMAT_RGBX_SNORM16/g s/MESA_FORMAT_XBGR16161616_FLOAT\b/MESA_FORMAT_RGBX_FLOAT16/g s/MESA_FORMAT_XBGR16161616_UINT\b/MESA_FORMAT_RGBX_UINT16/g s/MESA_FORMAT_XBGR16161616_SINT\b/MESA_FORMAT_RGBX_SINT16/g s/MESA_FORMAT_XBGR32323232_FLOAT\b/MESA_FORMAT_RGBX_FLOAT32/g s/MESA_FORMAT_XBGR32323232_UINT\b/MESA_FORMAT_RGBX_UINT32/g s/MESA_FORMAT_XBGR32323232_SINT\b/MESA_FORMAT_RGBX_SINT32/g s/MESA_FORMAT_XBGR8888_UINT\b/MESA_FORMAT_RGBX_UINT8/g s/MESA_FORMAT_XBGR8888_SINT\b/MESA_FORMAT_RGBX_SINT8/g
/external/mesa3d/src/mesa/drivers/dri/nouveau/nv10_state_frag.c
|
ef145ba4ded6aafb28e3bda02fb348e6b8bff12a |
|
20-Jan-2014 |
Mark Mueller <MarkKMueller@gmail.com> |
mesa: Rename 4 color component unsigned byte MESA_FORMATs Change all 4 color component unsigned byte formats to meet spec for P Type formats: s/MESA_FORMAT_RGBA8888\b/MESA_FORMAT_A8B8G8R8_UNORM/g s/MESA_FORMAT_RGBA8888_REV\b/MESA_FORMAT_R8G8B8A8_UNORM/g s/MESA_FORMAT_ARGB8888\b/MESA_FORMAT_B8G8R8A8_UNORM/g s/MESA_FORMAT_ARGB8888_REV\b/MESA_FORMAT_A8R8G8B8_UNORM/g s/MESA_FORMAT_RGBX8888\b/MESA_FORMAT_X8B8G8R8_UNORM/g s/MESA_FORMAT_RGBX8888_REV\b/MESA_FORMAT_R8G8B8X8_UNORM/g s/MESA_FORMAT_XRGB8888\b/MESA_FORMAT_B8G8R8X8_UNORM/g s/MESA_FORMAT_XRGB8888_REV\b/MESA_FORMAT_X8R8G8B8_UNORM/g
/external/mesa3d/src/mesa/drivers/dri/nouveau/nv10_state_frag.c
|
71fe9437169cfdafda8814aa814bb85429fb6cfc |
|
04-Jan-2014 |
Mark Mueller <MarkKMueller@gmail.com> |
mesa: change gl_format to mesa_format s/\bgl_format\b/mesa_format/g. Use better name for Mesa Formats enum
/external/mesa3d/src/mesa/drivers/dri/nouveau/nv10_state_frag.c
|
2e47d01c9e5325906cf3bb979279599991c6328e |
|
23-Dec-2011 |
Ben Skeggs <bskeggs@redhat.com> |
nouveau/vieux: switch to libdrm_nouveau-2.0
/external/mesa3d/src/mesa/drivers/dri/nouveau/nv10_state_frag.c
|
f4efc256fd90beaff86321e4c6ce00f9be55092d |
|
01-Nov-2010 |
Viktor Novotný <noviktor@seznam.cz> |
dri/nouveau: nv10: Use rules-ng-ng headers Signed-off-by: Francisco Jerez <currojerez@riseup.net>
/external/mesa3d/src/mesa/drivers/dri/nouveau/nv10_state_frag.c
|
f9995b30756140724f41daf963fa06167912be7f |
|
12-Oct-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
Drop GLcontext typedef and use struct gl_context instead
/external/mesa3d/src/mesa/drivers/dri/nouveau/nv10_state_frag.c
|
3bbad7f1084c3d6259dfa23fd60f654c949f7408 |
|
09-Sep-2010 |
Francisco Jerez <currojerez@riseup.net> |
dri/nv10-nv20: Add support for NV_texture_env_combine4.
/external/mesa3d/src/mesa/drivers/dri/nouveau/nv10_state_frag.c
|
51e8a66fa197de7e17fb94d901a4cf26f0812670 |
|
25-Feb-2010 |
Francisco Jerez <currojerez@riseup.net> |
dri/nouveau: Use the XRGB8888 hardware texture format.
/external/mesa3d/src/mesa/drivers/dri/nouveau/nv10_state_frag.c
|
7269a30b86745a29bb575ce3545ab82e6514ce2a |
|
23-Feb-2010 |
Francisco Jerez <currojerez@riseup.net> |
dri/nouveau: Restructure the nv[12]0 regcombiner code, and fake A8/L8 support.
/external/mesa3d/src/mesa/drivers/dri/nouveau/nv10_state_frag.c
|
bfb5dc68fcc9f5dee71f66d9499b8bdcde9627ea |
|
01-Feb-2010 |
Francisco Jerez <currojerez@riseup.net> |
Import a classic DRI driver for nv0x-nv2x.
/external/mesa3d/src/mesa/drivers/dri/nouveau/nv10_state_frag.c
|